Hi guys i wonder how i can set register_globals to on in apachee 2. I am running php 5 and i looked at phpinfo it was off . I be happy if an expert show me how to turn it on as i got a scripts that needs that option on.Thanks
Its better to leave it off globally and just turn it on with .htaccess files. However, its your choice.
To do it globaly, just find your php.ini file and look through it. Its in /etc/php.ini on unix and I think its in your windows dir by default on windows.. if not, check your php install dir or just search for php.ini.
The best option is to use a .htaccess file in the folder you are running that script from. Create a new file (if its not there already) named .htaccess and put the following in it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.