For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > February 2006 > Fsockopen issues









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Fsockopen issues
Yemi Obembe

2006-02-20, 3:55 am

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.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com