Server Side Form Validation using Regular Expressions

| Last Updated: | In: PHP Tutorial


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.

Tags: , ,


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.


You may also like:

Get Free Access of 450+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Free WordPress Setup Service

Free WordPress Setup

Want to Setup WordPress Blog Setup? I will help you in the setup of your WordPress blog.

Click Here

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW