View Single Post
Old 08-24-2006, 01:56 PM  
wedouglas
So Fucking Banned
 
Join Date: Aug 2004
Location: Dearborn, MI
Posts: 5,921
Quote:
Originally Posted by Tempest
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
Can I use this without disabling the back button? perhaps open in a new window
wedouglas is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote