note 54918 added to faq.misc
| From: | php-general at lists dot php dot net | Date: | Tue, 19 Jul 2005 16:08:26 +0000 |
| Subject: | note 54918 added to faq.misc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92175@lists.php.net to get a copy of this message | ||
using .htaccess file to disable register globals (register_globals)
The syntax for setting an option is:
php_value name value
php_flag name on or off
Example:
php_flag register_globals off
php_value arg_separator.output &
The example turns off register_globals and sets the value of arg_separator.output to & which
is preferred rather than the default &.
Note: you can also set boolean options with the php_value directive, the string will be converted to
boolean before assignment.
you can also use .htaccess to turn magic quotes on or off.
Search php.net and you'll find it
----
Manual Page -- http://www.php.net/manual/en/faq.misc.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54918
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54918&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54918&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54918&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54918&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54918&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54918&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54918&report=yes
Search -- http://master.php.net/manage/user-notes.php