![]() |
some help
alright well first off this may be in the wrong section but i am not quite sure what language i would use and im using some PHP so i posted this here.
I am working on a contact form and i need some help preventing illegal characters such as "`" "!" "#" "$" "%" "(" and so on. I was told to use regex by Andrew R but i tried sitepoint, google, pixel2life, other freelance forms and all sorts of stuff and seriously got nothing.. |
For a simple alpha-numeric check you can use:
PHP Code:
This post may be of help to you: http://www.talkphp.com/advanced-php-...pressions.html |
| All times are GMT. The time now is 06:43 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0