Is there any other way to stop a script from continuing without using die(); or exit();? Thanks in advance
There's also time_sleep_until(timestamp) that works like sleep but lets you specify an exact time you want the script to restart instead of an offset.
If you want to pad binary data at the end of/into your script, halt the compiler: http://uk.php.net/manual/en/function.halt-compiler.php Hope that helps, Jay