note 58287 added to security.globals
| From: | hbinduni at gmail dot com | Date: | Sun, 30 Oct 2005 08:06:17 +0000 |
| Subject: | note 58287 added to security.globals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-97826@lists.php.net to get a copy of this message | ||
[quote]
If you're under an Apache environment that has this option enabled, but you're on shared
hosting so have no access to php.ini, you can unset this value for your own site by placing the
following in an .htaccess file in the root:
php_flag register_globals 0
[/quote]
adding php_flag in .htaccess under apache 2 will cause internal server error. according to apache 2
manual, php_flag should goes to <virtual> or <directory> section.
----
Manual Page -- http://www.php.net/manual/en/security.globals.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58287
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58287&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58287&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58287&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58287&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58287&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58287&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58287&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58287&report=yes
Search -- http://master.php.net/manage/user-notes.php