I can write()
GET / HTTP/1.0\r\n
Host: www.mediawaveonline.com\r\n
Cookie: CookieID=123456\r\n
\r\n
if I try to read() here, I get a small DOS on our server, a loop wich causes me to restart apache to eliminate it. no error's in the logs. No data is sent back from the server to my computer as a response.
if I skip the read(), and exit() the php app. the server treats it as no problem, I get a fast and speedy correct responce from the server. Its the read() in the PHP code that buggers. up.
if I write()
GET / HTTP/1.0\r\n
Host: www.mediawaveonline.com\r\n
\r\n
then read() I get no problem again. its only with the Cookie: line....
Chris Lee