View Single Post
Old 06-18-2003, 04:41 PM  
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
Sneka, i most contradict u...
i've maked some tests sending the surfer from site1.com to sites2.com/gallery.php
gallery.php contain the next script to select an random link from gallery.txt

<?php
$fileName = "gallery.txt";
mt_srand( (double) microtime() * 1000000 );
$a = file($fileName);
$randNum = mt_rand( 0, sizeof($a)-1 );
header( "Location: ". $a[$randNum] );
?>

gallery.txt contain for example next 3 links:
site3.com/linkgallery1.html
site3.com/linkgallery2.html
site3.com/linkgallery3.html

finaly, if i send from site1.com to site2.com/gallery.php and i'm redirected to site3.com/linkgallery2.html (i.e) then site3 will track the surfer coming from site1 , not site2
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote