Welcome to WebmasterWorld Guest from 184.108.40.206
To run the script I enter [localhost...] - but after a few minutes the script times out. So I've adjusted the script so that after it has finished one iteration it does a page redirect - back to itself (so the script runs again). But after a fw minutes its times out again.
Could someone shed some light for me onto whats going on here - e.g. why it keeps stopping. Thanks.
PM me if you need more help.
might need the full path to php:
On Windows it'd probably something like
Now if you have anything in the query string, for example
, that wouldn't work on the command line. Instead you can do this:
C:\path\to\php scriptname.php "1234" "blue"
and in the script:
$id = $_SERVER["argv"];
$color = $_SERVER["argv"];