Php Scripts Directory
Over 1 Month Old


Categories > Networking Tools
 

BrowserEmulator PHP class
BrowserEmulator PHP class Details.

Some sites prevent external scripts from parsing their contents by denying request without a user-agent string. Though this can be circumvented by manually sending the necessary headers, this is usually too complicated.
This BrowserEmulator class with its methods fopen and file wraps the fsockopen calls and sends all the necessary headers before returning a file handle usable with any PHP function.
As a side-effect, you may be able to break the restrictions of allow_url_fopen = Off with these functions!


Added: 06/04/2007
Hits: 126
Popularity:
Visitors Rating:
Average Rating: Not Rated
Visit
Rate it
 

 


 



LooneyMoo.com
© Copyright 2009
3 visitors browsing the directory.
Partners: Freespace4u.info hostit4u.info WebSpace2Let.com Looneymoo.com
Sponsored:
MP3Victim.com Syndikut MP3 MP3va MP3fiesta Soundsbox Tunes4u MP3Ninja