Forum Moderators: coopster
id post a code snippet but its just an idea at the moment.. i mean kinda like this, which looks like what youve suggested, but doesnt seem to work.
if (!$continue) {
header('Location: www.site.com/next.php');
}else {
header('Location: www.site.com/fail.php');
}
put ob_start(); at the beginning of the script to start buffering.
use ob_flush(); at the end of the script to flush the buffer to the browser.
see also:
[php.net...]