note 24989 added to language.variables.external
| From: | cjsillito at shaw dot NO-SPAM dot ca | Date: | Fri, 06 Sep 2002 20:33:58 +0000 |
| Subject: | note 24989 added to language.variables.external | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36269@lists.php.net to get a copy of this message | ||
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
http://master.php.net/manage/user-notes.php?action=edit+24989
http://master.php.net/manage/user-notes.php?action=delete+24989
http://master.php.net/manage/user-notes.php?action=reject+24989