| Login | Register | |||
| Recommend this page to a friend! |
| Trackbacks (0) | ||||||||||||||||
Author: Manuel Lemos Posted on: 2009-09-04 Package: E-mail address validation class
Summary: The e-mail validation class was enhanced to adapt to changes done in PHP 5.3. - POSIX regular expressions are deprecated As you may have noticed, since PHP 5.3 the use of POSIX regular expression functions is deprecated. The class was changes to use PCRE functions instead. The syntax of the default e-mail address validation remains the same. The class converts the regular expressions to make them work with PCRE functions. So you do not need to change your code if you change the default e-mail regular expression. - GetMXRR function in Windows If you are using PHP on Windows, you may have noticed that now PHP 5.3 implements the GetMXRR. This function is used to determine the SMTP servers of a given e-mail address domain. Therefore, if you use Windows on PHP 5.3, you no longer need to use alternative implementations of the GetMXRR function that used to be assigned to the getmxrr class variable. Just do not change that variable so the class uses the regular GetMXRR function implemented in PHP. Comments: 1. Use in Contact Forms - dave Stuttard (2009-09-12 15:59) |
| Trackbacks (0) | ||||||||||||||||
| Copyright (c) Icontem 1999-2009 | PHP Classes | - PHP Class Scripts |
| PHP Book Reviews | - Reviews of books and other products |