Re: Poll of sorts: Javascript Form validation or PHP
| From: | Robert Cummings | Date: | Sun, 07 Dec 2008 17:24:31 +0000 |
| Subject: | Re: Poll of sorts: Javascript Form validation or PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284268@lists.php.net to get a copy of this message | ||
On Sun, 2008-12-07 at 13:59 +0000, Luke Slater wrote:
> /**
> Validate an email address.
> Provide email address (raw input)
> Returns true if the email address has the email
> address format and the domain exists.
>
> Not following the usual coding style I know but I can't bring
> myself to touch it... You'd better not touch it either, Rob: That means
> you.
Presumably you mean me... I must have developed a reputation amongst the
lurkers ;)
Cheers,
Rob.
Ps...
> return $isValid;
This line isn't indented properly >:)
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP