Could someone please tell me how to disallow input into a form when the user enters such things as "<?". I can use the ereg expression for all other strings, but I run into trouble with this one. Should I be using a Javascript function before the form is submitted or what?
Also, what other strings should I not allow in hopes of limiting my chances of getting hacked.
YoYo
Preventing users from entering "<?" in a textar
Moderator: General Moderators
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact: