View Single Post
Old 10-29-2009, 08:05 PM  
Pornwolf
Drunk and Unruly
 
Pornwolf's Avatar
 
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
I did.

<?php
$id = $_GET['id'];
$referer = $_SERVER['HTTP_REFERER'];

if($referer == "") {
header("Location: http://www.yoursponsorlnk.com/index.php?sub=$id");
}
?>


Just in case anyone does a search and comes across this page while looking for a code like it here it is. Enjoy.
__________________
I've trusted my sites to them for over a decade...

Webair, bitches.
Pornwolf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote