The address of the page from which the request was made : Request Info « Design Patterns « PHP






The address of the page from which the request was made


<?

echo getenv("$HTTP_REFERER");

?>


           
       








Related examples in the same category

1.Whether the request was GET or POST
2.For GET requests, the encoded data send appended to the URL
3.The full address of the request including query string