|
Posted by Arnaud on 03/20/06 11:09
<"NC" <nc@iname.com> a ιcrit dans le message de news:
1142619000.711712.38050@j33g2000cwa.googlegroups.com...
<But of course it didn't work... Have you even looked at fsockopen()
<documentation? Check it out:
<http://www.php.net/fsockopen
<The correct usage of fsockopen() in your case would be something like
<this:
<$host = 'myserver';
<$port = 4012;
<$path = 'code/myapp?param1=3';
<$fp = fsockopen($host, $port, $errno, $errstr);
<[...]
<Now $data should contain the entire HTTP response, including HTTP
<headers...
Hi,
Yes, I tried that way too, but it didn't work either, the problem was a bad
ip, it's resolved now.
Thanks for your time and help.
Arnaud
[Back to original message]
|