PX : code

Redirect by Bill Zeller
Download this code


<?php
                       
if  ($url)  {
                       
header"Location:  $url");
                       }

                       echo  
"<html><head>\n";
                       echo  
"<title>PHP3:  Website  redirection
script</title></head>"
;
                       echo  
"<b>redirect  to?</b><br>\n";
       
?>
   <form  method="POST"  action="redir.php3">
   <SELECT  NAME="url">
         <option  value="http://www.foo.com">Foo</option>
         <option  value="http://www.php3.com">Php3 Page</option>
   </select>
   <input  type=submit  name=submit  value=submit>
   </form>
<?;
                       echo  "</p></form>\n";
                       echo  "</html>";
?>


Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.