Re: Another problem!!

From: Date: Fri, 29 Nov 2002 09:50:05 +0000
Subject: Re: Another problem!!
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-9271@lists.php.net to get a copy of this message
Sabina Alejandr Schneider wrote:
know how to enable the posting of variables in the form of: test.php?var=1 there is something wrong with that because it doesn't function and in the version Apache 1.x
In recent versions of php register_globals is off by default in php.ini (it used to be on). The change in this default is documented in the release notes. You can turn it back on if you wish but the default changed to off for security reasons. With it off, get the value of var with: $var = $_GET['var'} for "get" data, or $var = $_POST['var'} for "post" data. HTH Chris

« previous php.install (#9271) next »