View Single Post
Old 04-04-2008, 08:12 AM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
the safest method i would think is php

save this as link.php
Code:
<?php
$guy = $_SERVER["HTTP_REFERER"];
if ($guy == ""){
// bot/google hit
$lnk = "<a href=http://linkforbots.com>LINK</a>";
} else {
// real hit
$lnk = "<a href=http://linkforpeople.com>LINK</a>";
}
echo $lnk;
?>
use this on your pages to pull the link into your page

<? @readfile("http://www.yoursite.com/link.php") ?>
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote