Fsockopen issues
| From: | Yemi Obembe | Date: | Mon, 20 Feb 2006 09:48:37 +0000 |
| Subject: | Fsockopen issues | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-41285@lists.php.net to get a copy of this message | ||
Is it possible (and advisable) to make multiple Get/head request through one
fsockopen handle.
eg:
$fp = fsockopen($host, 80);
$request = "GET /one.htm HTTP/1.0\r\n";
.......
fputs($fp, $request);
.....
//and then, another request through same handle:
$request2 = "GET /two.htm HTTP/1.0\r\n";
....
fputs($fp, $request2); //i.e through same handle.
--
http://ngBot.com | http://wap.ngBot.com
Nigeria's #1 website directory.