You are here: Re: see what site a visitor comes from « PHP Language « IT news, forums, messages
Re: see what site a visitor comes from

Posted by ZeldorBlat on 01/08/07 19:54

Peter wrote:
> Hi,
>
> A certain site is forwarding people (with less honourable intentions) to my
> site (a certain page on my site).
> I want to see if a visitor followed a link on that particular website + page
> to my page, so that I can put up a text "link expired" or something :)
>
> How can I see this ?
> Suppose the forwarding site / page is: site.com/page.htm
> If somebody could give me a small example or lead the way to the commands
> needed for this ?

The best you can do is probably to use the value of
$_SERVER['HTTP_REFERER']. Don't consider it reliable though -- it's up
to the client to set it.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация