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
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 unsu
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 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 quickest and easiest
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?
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
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.
--
I