Re: [PHP] php,sockets-help!

2002-01-09 Thread Bogdan Stancescu
Plus, isn't your request content-type: application/x-www-form-urlencoded? And another thing, since you send all the headers HTTP 1.1 compatible, why don't you use it instead of 1.0? Bogdan Sandeep Murphy wrote: > Hi, > > I am opening a socket on a remote server(weblogic) and sending my usernam

Re: [PHP] php,sockets-help!

2002-01-09 Thread Andrey Hristov
y 09, 2002 6:23 PM Subject: [PHP] php,sockets-help! > > Hi, > > I am opening a socket on a remote server(weblogic) and sending my username > and psswd to authentify them... > > I figure my php is opening the socket as no errors r being trapped.. However > the response is

[PHP] php,sockets-help!

2002-01-09 Thread Sandeep Murphy
Hi, I am opening a socket on a remote server(weblogic) and sending my username and psswd to authentify them... I figure my php is opening the socket as no errors r being trapped.. However the response is a blank page instead of an xml formatted response...why??? how can i rectify this?? Please

[PHP] sockets help ...

2001-07-25 Thread Arnauld Dravet - smurfie
Hello, simple question: $sock = fsockopen($server_ip, $server_port, $errno, $errstr, 30); while(!feof($sock)) echo fgets($sock,4096); fclose($sock); why does the while() makes an infinite loop, like if FEOF was never found ? thanks Arnauld Dravet [EMAIL PROTECTED]