Re: PHP Configuration file
| From: | (Richard Lynch) | Date: | Fri, 07 Jul 2000 23:52:40 +0000 |
| Subject: | Re: PHP Configuration file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5482@lists.php.net to get a copy of this message | ||
In article <200007061603.JAA28635@mail12.bigmailbox.com>,
kizadi@rahnema.com ("Sayyid Kamyar Izadi") wrote:
> Dear Sir/Madam
> I want to set magic_quotes_runtime to prevent PHP to set slashes
> before characters like <'>.
> but i do not find the php.ini as i have installed PHP4.0
> but i find two php3.ini files in my machine.
>
> I want to know what is the correct setting to prevent php
> from seting slashes and how can i do it.
Look for php.ini-dist in your PHP4 source directory.
Check <?php phpinfo();?> to see where PHP4 thinks that file should be.
Copy and rename php.ini-dist to php.ini in that directory and edit it.
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)