Does any one knows why while loop below ends after few loops when it meant
to keep in loop?
File name: while_loop_script.php
define('run', 0);
define('START', 10);
while(START run){
$ch = curl_init(mydomain/update_script.php?action=run);
curl_exec($ch);
curl_close($ch);
}
using php.exe to
...@gmail.com]
Sent: Monday, April 06, 2009 3:51 PM
To: php-general@lists.php.net
Subject: [PHP] [php] while loop failure
Does any one knows why while loop below ends after few loops when it meant
to keep in loop?
File name: while_loop_script.php
define('run', 0);
define('START', 10
] while loop failure
Does any one knows why while loop below ends after few loops when it meant
to keep in loop?
File name: while_loop_script.php
define('run', 0);
define('START', 10);
while(START run){
$ch = curl_init(mydomain/update_script.php?action=run);
curl_exec($ch);
curl_close
Innovation in software product design, development and delivery-
www.persistentsys.com
-Original Message-
From: Andrew Williams [mailto:andrew4willi...@gmail.com]
Sent: Monday, April 06, 2009 3:51 PM
To: php-general@lists.php.net
Subject: [PHP] [php] while loop failure
Does any one knows why
Does any one knows why while loop below ends after few loops when it meant
to keep in loop?
File name: while_loop_script.php
define('run', 0);
define('START', 10);
while(START run){
$ch = curl_init(mydomain/update_script.php?action=run);
curl_exec($ch);
curl_close($ch);
}
using
setting:
max_execution_time = -1 ; Maximum execution time of each script, in
seconds
max_input_time = -1 ; Maximum amount of time each script may spend
parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 2036M ; Maximum
6 matches
Mail list logo