Salve,
qualcuno saprebbe dirmi in php come posso fare per creare un collegamento ipertestuale alla pagina da cui si proviene?
grazie
Salve,
qualcuno saprebbe dirmi in php come posso fare per creare un collegamento ipertestuale alla pagina da cui si proviene?
grazie
echo "<a href=\"".$_SERVER[HTTP_REFERER]."\">indietro</a>";
![]()
come non detto, mi sfuggiva:
$_SERVER[HTTP_REFERER];
![]()
In altre parole se puoi farne a meno non usarla, specialmente se devi usarla per fare un link.'HTTP_REFERER'
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.