server-side

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.

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

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