View Single Post
Old 07-10-2011, 01:29 PM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
looks like you only have 2 variables , so you make a simple php page in the out folder say called ad.php

Code:
<?php
$url = $_GET["url"];
$id = $_GET["id"];
?>
<html>
<head>
<meta http-equiv="refresh" content="15; url=index.php?url=<?php echo $url; ?>&amp;id=<?php echo $id;?>">
</head>
<body>
this is where you would see an ad, this page will automatically refresh to target in 15 seconds

<a href="index.php?url=<?php echo $url; ?>&amp;id=<?php echo $id;?>">CLICK HERE TO SKIP AD</a>
</body>
</html>
then change the existing link code you have from /out/? to /out/ad.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