I am using orkut's php open social client v1.0 located at :
http://code.google.com/p/orkut-os-cl...downloads/list

I have tried live demos of this library on internet none of them worked fine for me but
the live demo at http://www.dxs.com.br/os-3leg/test/ is working good for my orkut acount.

At first it was giving me Length Required error when i tested it on my website
so i fixed it by writing $headers[] = 'Content-Length: '.strlen($postBody);
After specifying it manually, it is taking so much time to load and
then i am getting Empty Server Response exception in curl-post
request.. Below are the details :


Code:
<b>Fatal error</b>:  Uncaught exception 'Exception' with message 'HTTP
Error: Empty reply from server' in /home/username/public_html/orkut/lib/orkut-3legged.php:55
Stack trace:
#0 /home/username/public_html/orkut/lib/orkut-3legged.php(394): CurlRequest::send('http://www.orku...', 'POST', '[{&quot;method&quot;:&quot;peo...', Array)
#1 /home/username/public_html/orkut/services/friends.php(61): Orkut-&gt;execute()
#2 /home/username/public_html/orkut/json/list_friends.php(32): Friends-&gt;execute()
#3 /home/username/public_html/orkut/json/list_friends.php(42): GetOrkutUserInfo-&gt;execute()
#4 {main}
 thrown in <b>/home/username/public_html/orkut/lib/orkut-3legged.php</b> on line
<b>55</b><br />
I asked about this problem on google official forum but there is no response from them.
Is it happening because of the timezone setting which is set in globals.php?

If anyone know the solution to this problem then kindly let me know.

thanks in advance..