Add Slashes - Server Adds Them Automatically - Advice Requested!

From: Date: Wed, 29 Aug 2001 15:58:06 +0000
Subject: Add Slashes - Server Adds Them Automatically - Advice Requested!
Groups: php.general 
Request: Send a blank email to php-general+get-65039@lists.php.net to get a copy of this message
Hello, I've created a little opensource script: http://openconcept.ca/guide-petition.phtml Which uses addslashes() to help clean up data inserted from a web form. This is fine, except that it appears that you can set up php, so that addslashes are automatically added: "one small thing i noticed was the "addSlashes" issue. it seems like php is sometimes installed (such as on my machine) in such a way that addSlashes AUTOMATICALLY happens and therefore MANUAL addSlashes adds a SECOND, superfluous forward slash." "eg Patrick "the skier" kuharic comes out in invitea friend emails by your system as Patrick \the skier\ kuharic" Has anyone else experienced this? Any suggestions for work arounds? Mike -- Mike Gifford, OpenConcept Consulting, http://openconcept.ca Offering everything your organization needs for an effective web site. Abolish Nuclear Weapons Now!: http://pgs.ca/petition/ It is a miracle that curiosity survives formal education. - A Einstein

« previous php.general (#65039) next »