Re: [PHP] socket communication programming
[email protected] (Shawn McKenzie)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
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