ballhogjoni Posted July 30, 2007 Share Posted July 30, 2007 is there a function that will validate the input of a user from a form. Meaning I don't want people to input html tags or commas or anthing like that into the form fields. I ask just in case of the user has javascript disabled. Link to comment https://forums.phpfreaks.com/topic/62469-solved-php-validation/ Share on other sites More sharing options...
MemphiS Posted July 30, 2007 Share Posted July 30, 2007 www.php.net/ctype_alpha Link to comment https://forums.phpfreaks.com/topic/62469-solved-php-validation/#findComment-310860 Share on other sites More sharing options...
trq Posted July 30, 2007 Share Posted July 30, 2007 Theres all sorts of functions for stripping and searching strings, just depends what you call valid data. Take a look at the string functions in the manual. Link to comment https://forums.phpfreaks.com/topic/62469-solved-php-validation/#findComment-310861 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.