addslashes
| From: | Jough P | Date: | Fri, 11 Jun 2004 17:46:11 +0000 |
| Subject: | addslashes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188120@lists.php.net to get a copy of this message | ||
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?
Thanks!!