View Single Post
Old 05-18-2007, 04:08 PM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
ill show you a very simple way of doing it..

first save this as index.php and place in a folder

for exaples sake lets say this is "http://yoursite.com/smokey/index.php"

Code:
<?php
$x = $_GET['x'];
$x = str_replace("stband","&",$x);
$x = str_replace("stbque","?",$x);
$x = str_replace("stbequ","=",$x);

?>
<center>YOUR ADS<br><br>
<iframe src=<?php echo $x; ?> width=800 height=1000></iframe>
ok now heres how you call your links

first place this script anywhere on the main page of your tgp ( idit where it says yoursite.com to your site )

Code:
<script>
function stbgo(URL){


URL = URL.split("&").join("stband");
URL = URL.split("?").join("stbque");
URL = URL.split("=").join("stbequ");
make = "http://yoursite.com/smokey/?x=" + URL ;
window.open(make,"_blank");
}
</script>
then call your links like this

<a href='javascript:stbgo("http://gallys.nastydollars.com/es/5/?id=yourid")'>open gallery</a>

this will basically make a wrapper for every outgoing link
__________________
hatisblack at yahoo.com

Last edited by SmokeyTheBear; 05-18-2007 at 04:09 PM..
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote