Re: addslashes
| From: | Justin Patrin | Date: | Fri, 11 Jun 2004 18:33:13 +0000 |
| Subject: | Re: addslashes | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188128@lists.php.net to get a copy of this message | ||
Torsten Roehr wrote:
"Jough P" <jough@wiretapped.us> wrote in message news:3A472B24-BBCF-11D8-9E07-0003934577BE@wiretapped.us...I would suggest turning off all magic_quotes settings and dealwith with it yourself (or letting a package do it for you). Using magic_quotes can lead to many nightmares....Greetings all, I'm doing all my PHP development on my iBook running OS X. I'm currently working on a messaging tool for a website. When the messages are posted on my iBook the single quotes are escaped properly. When I upload the same *.php files to the server the single quotes are preceded by a backslash. i.e. Don't appears: Don\'t I presume this has something to do with the way PHP is configured. My goal is to never have to use the addslashes() function. Any suggestions?See here: http://de.php.net/addslashes Pay attention to the notes on magic_quotes.
Regards, Torsten Roehr-- paperCrane <Justin Patrin>