htaccess php_flag magic_quotes_gpc Off / php.ini in our web folder?

tgkprog

Member
Messages
226
Reaction score
0
Points
16
i read online that we can add to the .htaccess file
Code:
php_flag magic_quotes_gpc Off

but when i did so that folder was marked an an error - all pages have a 500 error

i also read that you can place a file called php.ini in the same folder with
Code:
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off

this did not throw an error

i wanted to know if that means this working? or whats a good way to do this?
can i put a php.ini?
the online page said that iniset function is not an option for this
 
Top