note 26796 modified in function.array-keys by vrana
| From: | vrana@php.net | Date: | Tue, 17 Aug 2004 13:58:32 +0000 |
| Subject: | note 26796 modified in function.array-keys by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79788@lists.php.net to get a copy of this message | ||
All the cool notes are gone from the site.
Here's an example of how to get all the variables passed to your program using the method on
this page. This prints them out so you can see what you are doing.
<?php
while (list($key, $value) = each
(${"HTTP_".$REQUEST_METHOD."_VARS"}))
{
echo $key." = ".$value." ";
}
?>
--was--
All the cool notes are gone from the site.
Here's an example of how to get all the variables passed to your program using the method on
this page. This prints them out so you can see what you are doing.
while (list($key, $value) = each
(${"HTTP_".$REQUEST_METHOD."_VARS"}))
{
echo $key." = ".$value." ";
}
http://php.net/manual/en/function.array-keys.php