Re: to read unknown input
| From: | Andy Hoffman | Date: | Fri, 25 Aug 2000 13:47:43 +0000 |
| Subject: | Re: to read unknown input | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2140@lists.php.net to get a copy of this message | ||
Ernst Bekker wrote:
> All I want to do is now print out the variable names with their values.
Try the php variable $HTTP_POST_VARS or $HTTP_GET_VARS (depending on whether
this form was sent to your script in get or post mode). You can then
print/modify/retrieve from this associative array to get at the data, without
having known the form variable names. Note, make sure "track_vars" and
"register_globals" are ON in your php.ini :)
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com