Thread
:
Help me, I want to set up a PHP redirect file, Thanks
View Single Post
01-01-2003, 07:20 PM
dacash
Confirmed User
Join Date: Jul 2002
Location: some where in a basement
Posts: 609
try this
switch($HTTP_GET_VARS["id"]){
case 0: $url = "http://www.yahoo.com"; break;
case 1: $url = "http://www.altavista.com"; break;
}
header("Location: $url");
?>
__________________
____________
Marc
dacash
View Public Profile
Visit dacash's homepage!
Find More Posts by dacash