I would like to know what page redirected to the current page on my system.
For example. If the system stopped in the page current.php. How to know what page called current.php?
Is there a function to perform this?
I would like to know what page redirected to the current page on my system.
For example. If the system stopped in the page current.php. How to know what page called current.php?
Is there a function to perform this?
$_SERVER['HTTP_REFERER']
can contain the URL of the page the user agent was previously on, but it can be spoofed or empty.