Re: Form variables not passing: globals IS on

From: Date: Mon, 12 Aug 2002 14:54:38 +0000
Subject: Re: Form variables not passing: globals IS on
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-112147@lists.php.net to get a copy of this message
Monday, August 12, 2002, 4:57:36 AM, Petre wrote: PA> to the default php.ini, and have checked it and register_global = On PHP settings can be altered outside of php.ini (using Apache .htaccess files for example) Add this line to page2.php to see the run-time setting: echo " register_globals is : ".ini_get('register_globals'); Something might be wrong with your PHP install if it's a recent version and $_POST isn't there.. Try print_r($_POST); PA> echo " HTTP_POST_VARS :".$_HTTP_POST_VARS["test"]."<br>"; The deprecated POST array is $HTTP_POST_VARS (no preceding underscore). Steve -- steve@mrclay.org ** http://mrclay.org

« previous php.general (#112147) next »