Server Side Form Validation using Regular Expressions

By: Prem Tiwari | Last Updated: | In: PHP Tutorial

We are always using the JavaScript validation for form validation inour practice,but in some way many user’s disabled the javascript in his browser in such cases we strongly recomended the Server Side Form Validation. In this post i will describe the easy and simple code for Server Side Form Validation using Regular Expressions.

Contains PHP code. eregi — Case insensitive regular expression match.

Contains HTML code. You have to include validation.php file.

About: Prem Tiwari

Prem Tiwari is the founder of and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

, ,