The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: PHP Redirect
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-10-2003
oombera's Avatar
oombera oombera is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2002
Location: Cleveland, OH
Posts: 804
Give this a try:
Code:
<?php
header("Location: html/index.php");
echo " "; // NN4 requires that we output something...
exit();
?>

or this, for a timed redirection:
Code:
<?php
header("Refresh: 3; URL=/html/index.php");
echo " "; // NN4 requires that we output something...
exit();
?>