getting rid of bad characters
| From: | Dan McCullough | Date: | Mon, 31 Oct 2005 15:30:49 +0000 |
| Subject: | getting rid of bad characters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-224880@lists.php.net to get a copy of this message | ||
I having been looking for some snippet to help me with changing MS
Word double, quotes, single quotes and other characters to acceptable
HTML safe characters. The problem comes about when the people using
the forms paste large articles from Word into the form, I do a normal
check and add slashes but lately they have been getting lazy and using
the special characters from Word.