ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-db
php-db
[PHP-DB] Fsockopen issues
by Yemi Obembe other posts by this author
Feb 20 2006 1:49AM messages near this date
[PHP-DB] htacces/ php | [PHP-DB] 1
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.
Attachments:
unknown1


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved