Re: [PHP] Need help with fsockopen()

2002-10-04 Thread bbonkosk
http://www.php.net/manual/en/function.fsockopen.php Seems to be A LOT of useful information there? Did you check it out? -Brad > I have a script that downloads html pages from many different sites. The > script executes as expected but is slw. I would like to replace > fopen() with fs

[PHP] Need help with fsockopen()

2002-10-04 Thread Cliff Small
I have a script that downloads html pages from many different sites. The script executes as expected but is slw. I would like to replace fopen() with fsockopen() so that I can set a time limit for the page downloads. Here is an example of how I'm using fopen(): $OpenFile = fopen("$site