Hey all,
I have the following code:
$i=0;
while($i++<15) {
mail("rantsh@hotmail.com",date("d m Y H:i:s"),"This is email # $i ");
echo "mandado $i <br>";
sleep(60);
}
Now, I know my server has a 30 second max_execution_time setting... nonetheless, this code runs successfully!!!. Now, this is actually better for me (for the application I need to run)... Yet I'm concerned of why it's being allowed to run for 15 minutes if max_execution_time is set to 30.
PHP.NET says:
But I don't see how my query could be included here, I don't have perfect english but for what I understand it means that the overhead caused by the actual action of sending the email does not affect the max_execution_time, but isn't the time the script is sleeping included either???????
Thx,
Roderick