Tag Archives: redirect

PHP: Page Redirecting with Header… and Die()

I make use of PHP’s handy header function to handle simple page redirects for me, perhaps a bit of a cheap way of doing it, but one that is remarkable effective. Sure, you need to change the way you code a little and perhaps introduce some ob_start and ob_end_flush calls if necessary, but on the whole a good old header(‘Location: newpage.htm’) call works pretty damn well. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | View Comments