The best way to stop e-mail injections is to validate the input field of form.
The code below is the same as in the previous chapter, but now we have added an input validator that checks the email field in the form:
Regular expressions are nothing more than a sequence or pattern of characters itself. They provide the foundation for pattern-matching functionality.
Using regular expression you can search a particular string inside a another string, you can replace one string by another string and you can split ...
Zend Framework is open source PHP Framework.
What is Zend Framework
framework for building web faster and robust.
Created by the company main supporters of PHP, Zend.
Supporting web 2.0 and cloud computing technologies.
Why Zend Framework
Free and op ...
There are three basic types of runtime errors in PHP:
1. Notices: These are small, non-critical errors that PHP encounters while executing a script - for example, accessing a variable that has not yet been defined. By default, such errors are not displayed to the user at all - although the defaul ...
An array is a like a list or a group of similar elements which stores data of a specific data type. These data elements are stored in a series inside the array and each of these stored data element has its own position in the Array by which it is referred to and retrieved. The position of these stor ...