Fsockopen issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux