Display HTTP Post &this=0&that=1 in referer echo?
Posted: Wed Mar 07, 2007 12:06 am
I know how to echo the referer page...
What I'd like to do is echo the referer page and it's HTTP GET commands (whatever they are called). I'm interesting in testing out a form right now to see if I'm passing the correct values.
So when I use a form to see it's passing variables (example.php) I'll see it's variables in the URL (example.php&this=0&that=1).
Code: Select all
$referer = basename($_SERVER['HTTP_REFERER']); echo $referer;So when I use a form to see it's passing variables (example.php) I'll see it's variables in the URL (example.php&this=0&that=1).