By BRichard via phpf1.com Published: Jul 11 2007 / 13:28
Innacurate! The code after the header statement will be executed...
header("Location page.php"); die(); will prevent the code after the redirect statement from being executed thus saving time.
Thanks for your comment! The tutorial is corrected.
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.
Comments
kitsched replied ago:
Innacurate! The code after the header statement will be executed...
legendxx replied ago:
header("Location page.php"); die();
will prevent the code after the redirect statement from being executed thus saving time.
BRichard replied ago:
Thanks for your comment!
The tutorial is corrected.
Voters For This Link (4)
Voters Against This Link (9)