PDA

View Full Version : php: $referal


Xavior
01-11-2003, 23:58
I aint sure if there's such a php function.. tried searching in php.net but cant find it...
i have seen it somewhere in the net.. but forgotten the url..

It's a command that allows the script to know which site you came from, ie: referal page...

please help!

NeonHQ
02-11-2003, 02:22
It is a global variable.

$_SERVER['HTTP_REFERER']

Xavior
02-11-2003, 08:02
oO... no wonder i cant find it on php.net..
i was do a search for 'refer' 'referal' n '$referal'
but never 'referer'
LOL