Originally posted by: mugs
Header("Location: otherPage.php");
I use that because I like to keep validation/processing pages separate from entry/navigation pages.
Originally posted by: Beau
Originally posted by: mugs
Header("Location: otherPage.php");
I use that because I like to keep validation/processing pages separate from entry/navigation pages.
Actually, PHP buffers it's output and headers, so by simply calling header('Location: myloc.php'); your script could execute unexpected code.
so, do this:
header("Location: otherpage.php");
exit;