||[Aug. 2nd, 2006|12:09 am]
LiveJournal Client Discussions
I'm just starting at all this socket stuff in my programming.|
But anyway; i have a LJ module on my website, and i thought it would be really nifty to throw a little application so my users could update their LJs straight from my site. So i'm working on an LJ-Client in PHP.
I was trying the Get Challange method of authentication, but i can't seem to get a response back from the server when i send the request. the script sits there for 10 or 20 seconds and then claims that the server didn't send a response:
this is what my test script outputs:
( Script OutputCollapse )
And this is the script itself:
( PHP ScriptCollapse )
forgive me if this is a stupid question, this is my first dabble into sockets.
Oh, i'm aware there is an XML-RPC extension for PHP, however this is not compiled into the PHP on my server. (i'm noticing more and more how my server lacks extensions that would prove invaluable to extending my site how i wish. Oh well, i suppose that's what i get for a free high-bandwidth server)