Atari ST fan
Posts: 7
54 credits Members referred : 0
« Reply #3 on: Oct 23, 2006, 10:38:02 PM »
haha, you're the one that used that test in the first place.
having htmlspecialchars just makes sense though. If the person uses a quote or something else, the new page WILL break, and leave a bad impression. Best to make it a little more foolproof.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
haha, you're the one that used that test in the first place.
having htmlspecialchars just makes sense though. If the person uses a quote or something else, the new page WILL break, and leave a bad impression. Best to make it a little more foolproof.
Of course your suggestion is not bad but don't tell people that this is a bug while it's based on you personal opinion. At the end this small details are up to the user, believe me if I use this class for a wide public I use more validation than only some basic html function. Check this class for real validation: http://www.finalwebsites.com/snippets.php?id=15