magic_quotes_gpc woes

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have a webserver hosting several websites running several php
programs. Some but not all programs check magic_quotes_gpc is ON
before using the addslashes function. Currently, magic_quotes_gpc is

I have another great program I like to use but it needs to have
magic_quotes_gpc ON. Is there a way to make magic_quotes_gpc On for
just this one website? I really don't want to modify the codes of this

Re: magic_quotes_gpc woes

php_value magic_quotes_gpc 1 in your apache config.

On Jul 10, 5:35 pm, wrote:
Quoted text here. Click to load it

Re: magic_quotes_gpc woes

Quoted text here. Click to load it

(Top-posting fixed)

As peter pointed out you can put something in your Apache config file
-- so you can set magic quotes on per-directory or per-vhost basis.
You could also put that same directive in an .htaccess if Apache is
configured to allow it.

Site Timeline