note 9585 added to Variables from outside PHP
| From: | kingmundi at hotmail dot com | Date: | Mon, 13 Nov 2000 20:03:41 +0000 |
| Subject: | note 9585 added to Variables from outside PHP | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7643@lists.php.net to get a copy of this message | ||
Simple little thing I found handy for finding all the submitting values sent to a page.
$keys = array_keys($HTTP_POST_VARS);
for($x = 0; $x < count($keys); $x++)
{
echo $keys[$x] . " = ";
echo $HTTP_POST_VARS[$keys[$x]] . "<br>";
}
http://www.php.net/manual/language.variables.external.php