RE: [PHP] HTTP_POST_VARS not set.

From: Date: Wed, 19 Jun 2002 22:25:59 +0000
Subject: RE: [PHP] HTTP_POST_VARS not set.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103032@lists.php.net to get a copy of this message
$HTTP_POST_VARS should *always* exist if: a) Your PHP version is greater then 4.0.2 b) If not (a), then track_vars directive = on Those are the only conditions. Btw, it's not a "superglobal" so it won't be seen inside a function without "global". On a related note, it'll be an empty array if no POST data exists. This predefined variable has not been eliminated. Regards, Philip Olson On Thu, 20 Jun 2002, David Freeman wrote: > > > I mean, can't we enable HTTP_POST_VARS by some configuration option? > > You might look into your setting for register_globals in php.ini. If > it's set you'll find all this stuff working fine. You should probably > also read up on why the php folks recommend that register_globals NOT be > used. > > CYA, Dave > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#103032) next »