View Single Post
Old 06-12-2003, 01:43 AM  
Validus
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Calgary, Canada
Posts: 4,012
This works... was the numbers. so I put a "t" infront of it...


PHP Code:

hahahahahaha hahahahahahahahahaha="refresh" content="5;URL=

<?PHP

$t001 
"http://www.yahoo.com/";
$t002 "http://www.ebay.com/";

if(!empty(
$_GET["scr"]))
 { switch(
$scr) {
    case 
"t001":
        print 
"$t001";
        break;
    case 
"t002"
        print 
"$t002";
        break;
    default:
        print(
"$line[9]");
        } } 
else { 
print(
"$line[9]");
}
?>

">

Now, I would like to move the variables into another file and get rid of the if else stuff. So I can use any ?scr= thing? without having it in there. Any ideas?
Validus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote