note 14784 deleted from function.stripslashes.php by philip

From: Date: Tue, 14 Aug 2001 20:36:23 +0000
Subject: note 14784 deleted from function.stripslashes.php by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-16719@lists.php.net to get a copy of this message
I noticed that when submitting a form, PHP will add the slashes to the text fields. Also, if you have a text field with a value such as: 'this will remain "this will disapear"', the entire text in double quotes (") will be replaced with a . So using stripslashes() on this will remove the entire double-quoted text. So: echo stripslashes("this will remain "this will disapear""); // prints: this will remain (remove underscore in email address to email me)

« previous php.notes (#16719) next »