Google Answers Logo
View Question
 
Q: Connecting to Google Talk with PHP ( No Answer,   0 Comments )
Question  
Subject: Connecting to Google Talk with PHP
Category: Computers > Programming
Asked by: bpiccolo-ga
List Price: $100.00
Posted: 06 Oct 2005 08:10 PDT
Expires: 12 Oct 2005 10:57 PDT
Question ID: 577145
Hello,

I am trying to write a PHP based Google Talk client using a
jabber-based class written in PHP: class.jabber.php.  I've downloaded
the class from the following website - http://cjphp.netflint.net/.

It appears that this class in its current state does not work because
it does not have SSL/TLS support built in. I am an advanced PHP
programmer and I'm quite comfortable modifying the class to meet my
needs.

The server I'm going to be running the Google Talk client is running
PHP 4.3.6.  The class uses fsockopen() to connect to the jabber server
(i.e. talk.google.com).  I've tried every variation of protocols
(tcp://, tls:// and ssl://) and ports (5222, 5223 and 5224) and have
not been able to receive a response from the Talk server.

I have a couple of questions related to this modification that I'm
hoping for some help with:

1.  PHP is currently running with OpenSSL, a requirement to use TLS
and SSL with fsockopen(). However, is fsockopen() with a secure
protocol sufficient to meet Google's secure requirements?  Or do I
need to install or configure additional modules for fsockopen() to
work properly?

2. Is SASL required to connect to Google Talk?  If so, how do I
configure PHP for SASL?

Any additional information that I've overlooked would also be greatly appreciated.

Thanks!
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy