|
Posted by Andy Jeffries on 05/08/06 18:19
On Mon, 08 May 2006 09:52:36 -0500, Ron Croonenberg wrote:
> Hello,
>
> Is it possible, with php, to figure out what the "calling url" is ?
>
> Let's say I have a track.html (with some php code) and if someone clicks
> on a link to track.html I want to see the url where that visitor came
> from.
>
> can that be done ?
Not 100% reliably (it's up to the browser to send it) but check out
$_SERVER["HTTP_REFERER"]
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Navigation:
[Reply to this message]
|