locally enabling register_globals?
| From: | Michael Greenspon | Date: | Sat, 04 Jan 2003 00:50:51 +0000 |
| Subject: | locally enabling register_globals? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130188@lists.php.net to get a copy of this message | ||
Our hosting provider installed PHP 4.2 and thus disabled
register_globals by default which our scripts depend on. We don't have
access to php.ini to change this. This is with Apache. I tried putting
php_flags register_globals on
into .htaccess in the directory(s) with pages that need this but it does
not seem to work. How can I enable register_globals selectively for some
directories of pages so that our old scripts work again?
Thanks
Michael