Posted By

kreatific on 06/29/11


Tagged

php header redirect


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

guillermoj88gmailcom


PHP - Header Redirect


 / Published in: PHP
 

  1. // Redirect
  2. header( "refresh:5;url=index.php" );
  3.  
  4. // Custom Redirect
  5. echo '<div id="message_redirect">' .
  6. 'You\'ll be redirected in about 5 secs. If not, please <a href="index.php">click here</a>.'.
  7. '</div>';

Report this snippet  

You need to login to post a comment.