Quote:
|
Originally Posted by wedouglas
Would you mind posting the contents of said file? With just like one example url left in. I am clueless in php.
|
Well mine is a little complicated as I go to random POTD sites etc. if there's an invalid site name and I also insert campaign codes on the fly..
but a simple version would be something like this
Code:
<?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/");
?>
name it index.php.. drop it on some directory like /go2/
call them like /go2/?nastydollars