Muy buenas, me gustaría saber si hay un método alternativo a "$_SERVER['HTTP_REFERER'] para conocer cual es la URL desde la que se accede a la web.
La propia referencia de php.net dice que no es muy de fiar:
Cita: The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
Muchas gracias.