It seems I have been over the documentation repeatedly, but there simply
isn't any documented way of setting a timeout duration. Any ideas?
If you want to set a time out on execution of the /script/, check out:
http://us3.php.net/manual/en/function.set-time-limit.php
-Dan
--
PHP General
]
Subject: Re: [PHP] Timing out fopen using https stream wrapper?
It seems I have been over the documentation repeatedly, but there simply
isn't any documented way of setting a timeout duration. Any ideas?
If you want to set a time out on execution of the /script/, check out:
http://us3.php.net
That only works to set a timeout on reading data once the fopen has
successfully returned. The problem is that the fopen function is hanging.
-Original Message-
From: Arjen Brouwer [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 6:08 AM
To: Giz
Subject: Re: [PHP] Timing out fopen
This has no effect on stream operations. I have a timeout set in php.ini,
but the script never times out, so that should further illustrate the issue.
But if you'd visited the page I sent you and viewed user comments you
would see how to set a time limit for socket operations (what you're
:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 5:28 PM
To: Giz
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Timing out fopen using https stream wrapper?
This has no effect on stream operations. I have a timeout set in php.ini,
but the script never times out, so that should further illustrate the
issue
use of
fopen('http://etc')?
-Original Message-
From: Dan Anderson [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 5:28 PM
To: Giz
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Timing out fopen using https stream wrapper?
This has no effect on stream operations. I have
Anderson [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 6:26 PM
To: Giz
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Timing out fopen using https stream wrapper?
From the user comments:
I think it might be useful to point out that set_time_limit() doesn't
have any effect on stream operations
7 matches
Mail list logo