[symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread Carl
Try putting this in your .htaccess file: php_value magic_quotes_gpc off This may or may not work on your host. It depends on how things are setup. But it can't hurt to try. If you get an internal server error after adding that, then it's something that will need to be changed in php.ini. --

Re: [symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread seven seven
Thanks for your quick reply ! Yes I tried this already but it seems that the settings are not meant to work this way, it troughs a 500 internal error. I know there is a config available to put a php.ini file with magic_quotes_gpc = off , but this being a by folder setup it means I should put this

Re: [symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread Carl
Dang, that's a shame that disabling it in your .htaccess file doesn't do the trick. I was hoping it would work since that's the quickest and easiest solution without editing php.ini. And it's guaranteed to shut it off. I assume that your web host can't/won't disable this option on your account?

Re: [symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread Gábor Fási
By the time your script starts running, the variables are already escaped, so that ini_set won't help. On Mon, May 2, 2011 at 16:27, Carl carl.par...@gmail.com wrote: Dang, that's a shame that disabling it in your .htaccess file doesn't do the trick. I was hoping it would work since that's the

Re: [symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread Carl
Good point... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To

Re: [symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread seven seven
Hi Carl, Thanks for your response ! Actually the magic_quotes_gpc cannot be changed with init_set after 4.2.3 because is a PHP_INI_PERDIR according to this post http://stackoverflow.com/questions/517008/how-to-turn-off-magic-quotes-on-shared-hosting and php.net . Again on to the same post I found