ABOUT PHPCABLE

We are a small group of professional web designers and developers who are dedicated to creating powerful, effective and engaging websites. Our bold design style and use of ultra-clean standards-based markup code combine to produce websites that boast exceptional search engine result positions, increased conversions and superior visitor loyalty... read more

For Learners

PhpCable is an online free PHP tutorial website, specially customized for candidates who are seeking complete practice based guidance in the field of PHP development... read more

CONTACT INFO
  • Address: PO Box 580051, Sinda
    Eastern Province Zambia
  • Phone: +260976196939
  • Email: [email protected]

PHP Validation And Verification

JUNE 29, 2017 – PRESENT

Today we are going to review a very important part of the development process of a web application. The validation of users input. This is one the trickiest parts of any application at all. Why is that? Because the developer doesn't control it. You can write the best algorithm in the world, but still if it includes user input there is a place for mistakes. Even if we put some complicated logic to prevent the input of wrong symbols, check the consistence of the data and do whatever possible to make sure that it is all OK, there is still possibility that the users enter the wrong number. Though all said, we must try to prevent the most of human errors and the best way to do this is by using Regular Expressions.

Basically Regular Expressions are used for string matches. They are based on search and pattern matching strings in text. A lot of books are written about them, there are even some programming languages designed especially for Regular Expressions. But today we are just going to take a brief look at how regular expressions can help us with user input. First of all I suggest that you get familiar with some basic concepts of the language. It's syntax is fully explained in PHP Manual --> Pattern Syntax.

BUY NOW $80


OTHER PROJECTS YOU MAY CONSIDER

FEEL FREE TO EXPLORE MY RECENT WORK