PDA

View Full Version : Turning Register Globals on for one site


bonnmac
08-05-2003, 06:44 PM
I know this is possible but I always forget how. Am I on the right track?


I need to create a file with the following in it and place it somewhere (but where and what do I call it?)

php_flag register_globals on

I don't want them on server wide just for one site.

Thanks!

DirectAdmin Support
08-05-2003, 09:36 PM
Hello,

http://www.directadmin.com/forum/showthread.php?s=&threadid=210&highlight=registerglobals

put php_value register_globals 1 in an .htaccess file in the main directory for the site.

John

bonnmac
08-05-2003, 09:57 PM
Thanks John. Much appreciated.