Re: socket communication programming

From: Date: Fri, 12 Jun 2009 15:51:40 +0000
Subject: Re: socket communication programming
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-293977@lists.php.net to get a copy of this message
HELP! wrote: > hi > I can not get the stream_get_contents() to work. it's returning empty. > If you have a login details "ALOGINPASS 1A" cant you just fwrite($ft, > "ALOGINPASS 1A"); or do you need to add other things > Depends upon what the server is expecting. > > what is the meaning of this string" GET / HTTP/1.0\r\nHost: > www.example.com\r\nAccept > <http://www.example.com/r/nAccept>: */*\r\n\r\n" Those are some header from a get request, though looking malformed maybe. > www.bemycandy.com > -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#293977) next »