Welcome to WebmasterWorld Guest from 54.234.38.8

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Newbie need help on a noob PHP question.

     
11:38 am on Aug 6, 2012 (gmt 0)

New User

joined:Aug 6, 2012
posts:2
votes: 0


I want to show redirect url source info on my page using PHP. For example:

othersites.com redirect to mysite.com

On mysite.com I want to show an information that mysite.com is redirected from othersites.com using "echo syntax".

I know this is a real noob question but I've tried searching on Google and can't find the answer. Please help me.

Thank you.
2:09 pm on Aug 6, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 15, 2004
posts:941
votes: 0


welcome to webmasterworld

Take a look at the manual here [php.net]

The HTTP_REFERER is the one you seek
2:31 pm on Aug 6, 2012 (gmt 0)

New User

joined:Aug 6, 2012
posts:2
votes: 0


@omoutop : thank you so much for your help.. really appreciate it. ^_^