Page 1 of 1

fopen() timeout

Posted: Sat Jun 25, 2005 5:42 am
by rysolag
hi,

how do i modify the timeout value for a call to fopen() in php. in my script i open a bunch or urls and if the file is temporarily unavailable the script sits there for about 3 minutes trying to open the thing when it's obviously not there. how can i make this timeout value something like 5 seconds. can i do it in my .htaccess?

thanks

Posted: Sat Jun 25, 2005 9:25 am
by dethron
FIRST
I dont think your problem is related with this form (PHP-Code), may you should try viewforum.php?f=31 (Apache, IIS, Web Servers)

SECOND
What error messages you get?