Link Details

Link 29599 thumbnail
User 225819 avatar

By BRichard
via phpf1.com
Published: Jul 11 2007 / 13:28

A small article how to redirect pages in PHP. You can find all important aspects and code examples about PHP redirecting.
  • 4
  • 9
  • 4237
  • 1279

Comments

Add your comment
User 235721 avatar

kitsched replied ago:

2 votes Vote down Vote up Reply

Innacurate! The code after the header statement will be executed...

User 235780 avatar

legendxx replied ago:

0 votes Vote down Vote up Reply

header("Location page.php"); die();

will prevent the code after the redirect statement from being executed thus saving time.

User 225819 avatar

BRichard replied ago:

0 votes Vote down Vote up Reply

Thanks for your comment!
The tutorial is corrected.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (9)