Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 2002 12:08 AM
To: Matthew Delmarter
Cc: PHP Mailing List
Subject: Re: [PHP] set_time_limit() in a loop
what are you doing a while on
if while never ends and you reset the time out each loop and use
();
set_time_limit(1800);
endwhile;
?
-Original Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 2002 12:08 AM
To: Matthew Delmarter
Cc: PHP Mailing List
Subject: Re: [PHP] set_time_limit() in a loop
what are you doing a while on
if while never ends
Message -
From: Matthew Delmarter [EMAIL PROTECTED]
To: Martin Towell [EMAIL PROTECTED]
Cc: PHP Mailing List [EMAIL PROTECTED]
Sent: Friday, January 25, 2002 12:55 AM
Subject: RE: [PHP] set_time_limit() in a loop
I should also mention that the loop is sending mail using mail
Just wondering about set_time_limit() in a loop.
The current code looks something like this:
?
ignore_user_abort(true);
set_time_limit(1800);
while:
do stuff;
set_time_limit(1800);
endwhile;
?
Does this reset the timeout to 1800 seconds every time it loops? Or
does it
25, 2002 11:20 AM
To: PHP Mailing List
Subject: [PHP] set_time_limit() in a loop
Just wondering about set_time_limit() in a loop.
The current code looks something like this:
?
ignore_user_abort(true);
set_time_limit(1800);
while:
do stuff;
set_time_limit(1800);
endwhile
Thanks for your reply Martin.
Any ideas why ignore_user_abort would cause this problem?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject: RE: [PHP] set_time_limit() in a loop
your
] set_time_limit() in a loop
your first thought was correct - it sets it to 1800, it's NOT
accumulative.
it would have something to do with ignore_user_abort(true); and also
is your while loop's exit check working?
Martin
-Original Message-
Just wondering about set_time_limit() in a loop
-Original Message-
From: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 11:56 AM
To: Martin Towell
Cc: PHP Mailing List
Subject: RE: [PHP] set_time_limit() in a loop
I should also mention that the loop is sending mail using mail().
Is it possible
8 matches
Mail list logo