Re: php.ini config on 4.3.4

From: Date: Fri, 09 Jan 2004 03:59:23 +0000
Subject: Re: php.ini config on 4.3.4
References: 1  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-174087@lists.php.net to get a copy of this message
Turbo wrote:
I use windows Xp,apache,php 4.3.4.I can recieve variable from form by $_POST[''] (Short Term).But i can not recieve variable from form by $HTTP_POST_VARS[''] (Long Term).Include other recieve variable ( GET,SESSION,COOKIE).
Yes you can. Let me use my crystal ball and guess that you're using $HTTP_POST_VARS inside of a function or class method. Because of variable scope, it's not available there unless you pass the values to the function/method or make it global. If that's not it... you need to explain more. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#174087) next »