Re: Re: variables

From: Date: Wed, 22 May 2002 10:06:07 +0000
Subject: Re: Re: variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-98722@lists.php.net to get a copy of this message
Also, it's good to read the press releases: http://www.php.net/release_4_2_1.php External variables We would also like to attend you on a big change in PHP 4.2.0 concerning variable handling. External variables (from the environment, the HTTP request, cookies or the web server) are no longer registered in the global scope by default. The preferred method of accessing these external variables is by using the new Superglobal arrays, introduced in PHP 4.1.0. http://www.php.net/release_4_1_0.php On Wed, May 22, 2002 at 11:52:02AM +0200, Michael Virnstein wrote: : : you can use : : $_POST['name1'] if you're using post vars : $_GET['name1'] if you're using get vars : : "Roman Duriancik" <rduriancik@indprop.gov.sk> schrieb: : > : > When are set in php.ini (php version 4.2.1 on linux) register_globals = Off : > how I read variables from html files with forms in other php file ? -- Eugene Lee eugene@fsck.net

« previous php.general (#98722) next »