note 14054 deleted from function.htmlspecialchars by cmb

From: Date: Sun, 27 Oct 2019 09:18:00 +0000
Subject: note 14054 deleted from function.htmlspecialchars by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212851@lists.php.net to get a copy of this message
Note Submitter: ---- If your sending data from one form to another, the data in the textareas and text inputs may need to have htmlspecialchars("form data", ENT_QUOTES) applied, assuming you will ever have quotes or less-than signs or any of those special characters. Using htmlspecialchars will make the text show up properly in the second form. The changes are automatically undone whenever the form data is submitted. It does seem a little strange, but it works and my headache is now starting to go away. AZ

« previous php.notes (#212851) next »