note 24989 modified in language.variables.external by jmcastagnetto

From: Date: Fri, 06 Sep 2002 23:00:45 +0000
Subject: note 24989 modified in language.variables.external by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-36283@lists.php.net to get a copy of this message
[Editor's note: I am leaving this note here, in case you missed the news item advicing on this topic that we had months ago here in the PHP.net site, or the warning in the downloads page, or the information in the documentation that comes with the distribution, or even if you missed this same change that has been documented in the manual for quite some time. Better have it once more for those who do not read.] Newbie's like me should note that register_globals is disabled in the php.ini file as of PHP 4.20. Unless it is enabled, GET and POST data will not be available as $var data in the called script. To fix this problem, change the register_globals line in php.ini to read register_globals = On I understand that the people who are developing PHP have their reasons for doing this but it seems like a really newbie-hostile move, since a lot of tutorials on the Web and in books simply DON'T WORK without register_globals enabled. --was-- Newbie's like me should note that register_globals is disabled in the php.ini file as of PHP 4.20. Unless it is enabled, GET and POST data will not be available as $var data in the called script. To fix this problem, change the register_globals line in php.ini to read register_globals = On I understand that the people who are developing PHP have their reasons for doing this but it seems like a really newbie-hostile move, since a lot of tutorials on the Web and in books simply DON'T WORK without register_globals enabled. http://www.php.net/manual/en/language.variables.external.php

« previous php.notes (#36283) next »