View Single Post
Old 2006-10-25, 10:44 AM   #10
darksoul
Banned
 
Join Date: Oct 2006
Posts: 13
Heres the right code to use
Code:
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ZangoToolbar [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*)?yourdomain\.com(.*)$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*)?adwaresucks\.com(.*)$ [NC]
RewriteRule .* http://www.adwaresucks.com/zango/?ref=yourdomain.com [R=302,L]
on your Zango page:
Code:
<?php
$ref = $_REQUEST['ref']
..........
if($ref) {
echo "<a href='http://$ref'>Go Back</a>";
?>
darksoul is offline   Reply With Quote