Re: Using fsockopen()

From: Date: Mon, 13 Aug 2001 10:55:01 +0000
Subject: Re: Using fsockopen()
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-62399@lists.php.net to get a copy of this message
Is the timeout coming from fsockopen() or from the program using too much time? I've used @fsockopen() before without any issues (at least on Linux and Solaris), but if your script is running for a long time, you may need to tweak the execution time limit: http://www.php.net/manual/en/function.set-time-limit.php - Tim On 13 Aug 2001 11:40:04 +0100, David Ovens wrote: > Thought I would repost, does anyone have a solution ? > > I am using php, apache on a windows system. > > ----- Original Message ----- > From: "David Ovens" <DOvens@doweb.co.uk> > To: <php-general@lists.php.net> > Sent: Monday, August 13, 2001 1:26 AM > Subject: [PHP] Using fsockopen() > > > > I am making a program, that uses the fsockopen command looking at various > > url's, but occasionally it stops with a timeout error, I have used the @ > > infront of the fsockopen command, but it still times out with the error, > how > > do I make php ignore the error so that I can make it automatically retry > or > > do something else ??

« previous php.general (#62399) next »