Re: how to get POST vars without track_vars turned on? - please help
| From: | (Richard Lynch) | Date: | Thu, 06 Jul 2000 00:39:49 +0000 |
| Subject: | Re: how to get POST vars without track_vars turned on? - please help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5121@lists.php.net to get a copy of this message | ||
In article <39629171.6901E519@best.com>, kkrueger@best.com (Kip Krueger) wrote:
> How do I read an unpredictable array of POST'ed name/value pairs other
> than via the $HTTP_POST_VARS
> technique.
Switch ISPs?...
Do they let you use .htaccess? Turn track_vars on for yourself:
PHP3
php3_track_vars On
PHP4
php_flag track_vars On
If no .htaccess...
*MAYBE* if the very first line of code is to walk through $GLOBALS (just
like you used to walk through $HTTP_POST_VARS) and if you throw out all
the variables you know are provided all the time by
web-server/environment.
GET vars and COOKIE vars will conflict, though, so it would be shaky at best...
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)