[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] phpMyAdmin and magic_quotes_gpc with PHP4



Someone wrote:
> > The program works very well except that the magic_quotes issue causes
problems
> > with sql file dumps.

Then Thom wrote:
> php_flag magic_quotes_gpc on    for PHP4

*Nodding*
This works great. Not sure why it's not the same as what it is *supposed* to
be, but hey - that's the nature of having all these different flavors of
operating systems.  :)
However, I have found out that if you set the default for magic_quotes_gpc
to be "on" in your php.ini, the 'normal' line works just fine for turning it
off in .htaccess:
php_value magic_quotes_gpc off

Strangeness abounds.
The php_value also works great on my machine for appending and prepending
certain files, and setting specific include directories (highly helpful so
you don't have to type the whole path each time).

CarrieB