note 41069 added to security.registerglobals
| From: | chinahorseatcmtdotcom at rn2 dot php dot net | Date: | Mon, 29 Mar 2004 13:18:04 +0000 |
| Subject: | note 41069 added to security.registerglobals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67319@lists.php.net to get a copy of this message | ||
My host has register_globals turned ON by default. I have tried uploading a .htaccess file to turn
it off, but I only get an Internal Server Error 500, which leads me to believe the host will not
allow this directive in .htaccess.
But all the code I've written (using $_SESSION) is broken now! The Session data will not carry
from page to page, but it runs great on my own Unix box with register_globals OFF.
Does anyone know of a good workaround when I can't turn OFF register_globals? I've seen
some code here, but I'm looking for more than simply unsetting non-superglobal globals.
----
Manual Page -- http://www.php.net/manual/en/security.registerglobals.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41069
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41069&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41069&report=yes
Search -- http://master.php.net/manage/user-notes.php