I don't want out going links. I want something like site.com/out/site/ to actually go to the outgoing site.
What is the simplest method?
What is the simplest method?

<?php
$q=strtolower(trim($_SERVER["QUERY_STRING"]));
$url["adultpaymaster"]="http://www.adultpaymaster.com/";
$url["nastydollars"]="http://www.nastydollars.com/";
if($url[$q] != ""){
@header("Location: $url[$q]");
exit;
}
@header("Location: http://somedeafulturl.com/");
?>
<?php
$q=strtolower(trim($_SERVER["QUERY_STRING"]));
$url["adultpaymaster"]="http://www.adultpaymaster.com/";
$url["nastydollars"]="http://www.nastydollars.com/";
if($url[$q] != ""){
@header("Location: $url[$q]");
exit;
}
@header("Location: http://somedeafulturl.com/");
?>

Comment