[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
On Wed, 4 Dec 2002, Pete Hatton wrote:
The magic variable you need is $_SERVER['HTTP_REFERER'] for PHP Version 4.2.3 (And I believe from version 4.1 as well) If you are using version 4.0.x Try looking for $HTTP_SERVER_VARS['HTTP_REFERER'] or $HTTP_SERVER_VARS['REFERER'] (This is from the top of my head, so I reserve the right to be wrong)
You might need to "global $HTTP_SERVER_VARS;" as they're not an autoglobal unless the register_globals directive is set. Had problems with that one yesterday! Regards, Mark. -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.