You are here: Re: magic_quotes_gpc woes « PHP Programming Language « IT news, forums, messages
Re: magic_quotes_gpc woes

Posted by ZeldorBlat on 07/11/07 12:55

On Jul 11, 2:02 am, petersprc <peters...@gmail.com> wrote:
> On Jul 10, 5:35 pm, hermanh...@gmail.com wrote:
>
> > 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
> > OFF
>
> > 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
> > program.

> php_value magic_quotes_gpc 1 in your apache config.
>

(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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация