PDA

View Full Version : How can I turn Register Globals on just for one user?



ebaystar
06-24-2005, 11:25 AM
I need to know how to turn register globals on for just one user.

I have been told that having it on is bad or something, so I need to change it for one user.

I would appreciate any help.

Thanks.:confused:

ballyn
06-24-2005, 11:32 AM
Create a .htaccess file in the document root (public_html, e.g.) with this line:

php_value "register_globals" "1"
Note that users can do this themselves, so while turning it off globally is a good idea IMHO, it can be easily overridden.