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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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  ??



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to