note 29338 added to function.set-magic-quotes-runtime

From: Date: Mon, 10 Feb 2003 18:01:17 +0000
Subject: note 29338 added to function.set-magic-quotes-runtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-43732@lists.php.net to get a copy of this message
It's usual to have an HTML text input wich you want to reveal the content posted. If the crazy quotes ;) are enabled then, instead of going to "quote" your brain, you can select disable them in a per field basis: $textval = ereg_replace("\"",""",stripslashes($textval)); Wow !^) -- http://www.php.net/manual/en/function.set-magic-quotes-runtime.php http://master.php.net/manage/user-notes.php?action=edit+29338 http://master.php.net/manage/user-notes.php?action=delete+29338 http://master.php.net/manage/user-notes.php?action=reject+29338

« previous php.notes (#43732) next »