homepage Welcome to WebmasterWorld Guest from 54.211.100.183
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Newbie need help on a noob PHP question.
resshin



 
Msg#: 4482176 posted 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.

 

omoutop

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4482176 posted 2:09 pm on Aug 6, 2012 (gmt 0)

welcome to webmasterworld

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

The HTTP_REFERER is the one you seek

resshin



 
Msg#: 4482176 posted 2:31 pm on Aug 6, 2012 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved