Category: PHP

PHP Validate Email Address, Phone & URL 0

PHP Validate Email Address, Phone & URL

Validate email using PHP grep functions function isValidEmail($email){     return eregi("^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,3})$", $email); }function isValidEmail($email){     return eregi("^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,3})$", $email); } Validate phone numbers $phone = preg_replace(’/[^0-9]/’, ”, $phone); # remove non-numbers // check if > 9 digits...

PHP is a computer scripting language 0

PHP is a computer scripting language

Originally designed for producing dynamic web pages, it has evolved to include a command line interface capability and can be used in standalone graphical applications.[2] While PHP was originally created by Rasmus Lerdorf in...

Php Remove Non-Alphanumeric Characters 39

Php Remove Non-Alphanumeric Characters

How to strip all symbols and numbers from a string of alphanumeric text. This php code will help you delete, remove, strip and erase any non-alphanumeric characters, and then return the data without the...

PHPRunner 0

PHPRunner

PHPRunner builds visually appealing web interface for any local or remote MySQL database. Your web site visitors will be able to easily search, add, edit, delete and export data in MySQL database. Advanced security...

PHP Lesson 2 – Add Comments 2

PHP Lesson 2 – Add Comments

You will save a lot of time and money if you just remember to write comments as you write your codes. Trust me, you will forget which code goes where and what it does....