Server Side Form Validation using Regular Expressions

| Last Updated: | In: Core php


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 founder of freewebmentor.com and Software developer from New Delhi (India). Follow Prem's development codes on facebook, and make sure you check out freewebmentor.com for the latest in web development related Tips with the complete code.


You may also like:

Follow us!

Get Free Access of 350+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Pincode Finder

pincode-finder tool

Online Pincode Finder

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

SEARCH NOW