Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-18-2003, 02:19 AM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 02:22 AM   #2
arial
Confirmed User
 
arial's Avatar
 
Join Date: Jul 2002
Location: Bay Area
Posts: 4,012
I'd help you but you just confused the living hell out of me.
arial is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 02:31 AM   #3
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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?
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 02:37 AM   #4
Mr.Fiction
Confirmed User
 
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
Quote:
Originally posted by arial
I'd help you but you just confused the living hell out of me.
Mr.Fiction is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 02:45 AM   #5
strobi
Confirmed User
 
Join Date: Nov 2002
Location: Belgium
Posts: 7,383
Quote:
Originally posted by Mr.Fiction



strobi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 02:46 AM   #6
Sneka
Confirmed User
 
Join Date: Jan 2003
Posts: 413
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
Sneka is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 02:53 AM   #7
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
thanks Sneka
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 04:41 PM   #8
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
Old 06-18-2003, 04:49 PM   #9
aztecvision
Confirmed User
 
Join Date: Feb 2003
Posts: 979
jigga who, jigga what?
aztecvision is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 06:25 PM   #10
fiveyes
Confirmed User
 
Join Date: Aug 2001
Location: New Orleans
Posts: 1,680
Quote:
Originally posted by alex79
Sneka, i most contradict u...

...

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
And if you give it some thought, you'll see why that had to be the case.
__________________
<CENTER><A HREF="http://www.hot-off-bourbon.com/" target="_blank"><IMG SRC="http://www.hot-off-bourbon.com/images/hob-logosmall.jpg" border="0"></A>

<FONT face="Comic Sans MS" SIZE="-1"><I>Mardi Gras, Spring Break, Wet-T, Night Club Action, UpSkirt, Oil Wrestling, Voyeur</I></FONT></CENTER>
fiveyes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-18-2003, 06:40 PM   #11
JDog
Confirmed User
 
Join Date: Feb 2003
Location: Canby, OR
Posts: 7,453
Quote:
Originally posted by alex79
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?
Not a for sure way to tell. Because different browser will show it coming from different refers, but it should show domain1 as the referer, if domain 2 is just redirecting? make any sense?

jDoG
__________________
NSCash now powering ReelProfits.com
ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
NOW OFFERING OVER 60 SITES
CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)
JDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.