[PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
I have a class that uses fopen to read some xml data from a site with ongoing stability issues. Fopen is using the stream wrapper for http. Something I've struggled with is finding a way to set a timeout value when fopen is attempting to get a page from a site that is inaccessible for some

Re: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Dan Anderson
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

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
] 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

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
using https stream wrapper? check: http://php.net/stream_set_timeout - Original Message - From: Giz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 05, 2003 2:09 PM Subject: [PHP] Timing out fopen using https stream wrapper? I have a class that uses fopen to read some xml

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Dan Anderson
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

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
:[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

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Dan Anderson
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

RE: [PHP] Timing out fopen using https stream wrapper?

2003-07-05 Thread Giz
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