if header redirect => refferer=?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
potato
Forum Contributor
Posts: 192
Joined: Tue Mar 16, 2004 8:30 am
Location: my lovely trailer, next to the big tree

if header redirect => refferer=?

Post by potato »

Hi,

i want to make a script that sends the visitor to a specific website.
It has tobethat way, i want to send the visitors of my adsense adsto my site first, where they get redirected to the affiliate website.
Now, the affiliate sees the referrer of the visitor, to check ifthe visitor came from my site.
What will he see, google or my site?
Because there is nothing that loadson that page, only direct the redirect, ami not for shure.
Somebody knows it?

Greetings,
tom
feha
Forum Newbie
Posts: 5
Joined: Tue Oct 19, 2004 7:11 am
Location: Sweden

Post by feha »

if you use for example

Code: Select all

header("Location:http://www.vision.to");
It will pass original referrer ... "google" ...
User avatar
potato
Forum Contributor
Posts: 192
Joined: Tue Mar 16, 2004 8:30 am
Location: my lovely trailer, next to the big tree

Post by potato »

And does somebody knows how i can do that?
And clean, not a 'wait a few seconds, you get redirected' solution. :)
If it is possible. :?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

read the link: [php_man]header()[/php_man]
Post Reply