![]() |
PHP simple question
i have 2 sites...
on domain2.com i use an php script to rotate many links from a text file (from example if i send to domain2.com/teen.php then will be displayed a random gallery from the links that exist in domain.com/teen.txt) if i send from domain1.com/index.html to domain2.com/teen.php and the surfer will be send to a random link that exist in domain2.com/teen.txt (for example domain3.com/gallteen5.htm) then the domain3.com will track the hit coming from domain1.com or domain2.com? thanks for yours help |
I'd help you but you just confused the living hell out of me.
|
what's confused?:( if i send from site1 to site2/gallery.php and the surfer are redirected to site3 then the site 3 will track the hit comung from site1 or site2?
|
Quote:
|
Quote:
:1orglaugh :1orglaugh |
It will be send from your domain2.com, because the php script will ONLY READ the url on your domain.com but open window/send visitor through the php.
So domain3.com will track the hit coming from domain2.com |
thanks Sneka
|
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 |
jigga who, jigga what?
|
Quote:
|
Quote:
jDoG |
All times are GMT -7. The time now is 03:24 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123