How can I see the source of a redirect done with header("location:....");
?
For example if I do an header from example.com, how can I see that it comes from example.com?
Asked
Active
Viewed 19 times
0
-
1You can try `$_SERVER["HTTP_REFERER"]`. http://php.net/manual/en/reserved.variables.server.php – Mr Hery Jul 23 '18 at 10:19
-
See https://stackoverflow.com/questions/36240145/how-to-use-serverhttp-referer-correctly-in-php – marcramser Jul 23 '18 at 10:22