Since phpmyadmin doesn't use an include path and an auto prepend file but
phplib does, what we do is run them under separate sub directories. Under
the phplib subdir we use an .htaccess to specify the phplib directives
needed to make it run and under the phpmyadmin subdir we don't specify
anything since phpmyadmin doesn't require this.
What we don't do is put the phplib .htaccess with it's directives under the
web root "/". That way we can specify varying configurations under various
sub directories.
So, you can have magic quotes on under one dir and off under another. Use
.htaccess for configuration.
best of both worlds.
Matt Friedman
Spry New Media
----- Original Message -----
From: "Ignacio Vazquez-Abrams" <[EMAIL PROTECTED]>
To: "Kevin Cawthorne" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 9:24 AM
Subject: Re: [PHP] PHPLIB and PHPMyAdmin
> On Tue, 16 Jan 2001, Kevin Cawthorne wrote:
>
> > Hi,
> >
> > I want to install PHPLIB but one of the configuration notes says "turn
off magic quotes in the php.ini file".
> >
> > OK But I'm, using phpMyAdmin, which I understand NEEDS magic quotes on
to work.
> >
> > Has anyone done this using the two together?
> >
> > Kevin Cawthorne
> >
>
> Knowing which web server you're using helps, but if you're using Apache,
the
> way to do it is to turn it off in php.ini and then turn it on in
httpd.conf or
> .htaccess or wherever for the directory/location phpMyAdmin is in.
>
> --
> Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]