Eppure da manuale sembra tutto molto chiaro. Non c'è NULLA da settare nel php.iniOriginariamente inviato da satifal
Da manuale:
Prova ad utilizzare REQUEST_URI in alternativa.codice: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.
$_SERVER
Perchè il campo HTTP_REFERER nell'array $_SERVER sia valorizzato occorre giungere alla pagina che lo utilizza tramite un link oppure un submit.
Se digiti la pagina direttamente sulla barra degli indirizzi tale campo è VUOTO.![]()