Welcome to WebmasterWorld Guest from

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)

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)

WebmasterWorld Senior Member 10+ Year Member

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)

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

Featured Threads

Hot Threads This Week

Hot Threads This Month