[PHP] PHPLIB and PHPMyAdmin
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
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? Yes, I use .htaccess files to control phplib (you can have multiple phplibs) Tarique = B2B Application Providers http://www.sanisoft.com Vortal for Nagpur http://nagpurcity.net = -- 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]
RE: [PHP] PHPLIB and PHPMyAdmin
How can you control 'magic quotes' with .htaccess? I thought this is a php.ini command? I kind of have the same problem. My web host has magic quotes off and I would like to use phpMyAdmin. Is it possible to turn them on without accesing the ini file? Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 7:16 AM To: Kevin Cawthorne Cc: [EMAIL PROTECTED] 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? Yes, I use .htaccess files to control phplib (you can have multiple phplibs) Tarique = B2B Application Providers http://www.sanisoft.com Vortal for Nagpur http://nagpurcity.net = -- 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]
Re: [PHP] PHPLIB and PHPMyAdmin
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]