"Jough P" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php