Re: eregi(mail)
| From: | Analysis & Solutions | Date: | Fri, 10 May 2002 18:34:53 +0000 |
| Subject: | Re: eregi(mail) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96982@lists.php.net to get a copy of this message | ||
Folks:
On Fri, May 10, 2002 at 01:27:45PM -0500, Steve Buehler wrote:
>
>
> if(ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_
a-z{|}~]+'.'@'.'[-!#$%&\'*+\\/0-9=?A-Z^_a-z{|}~]+\.'.'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
>
> $subarray)){
Those characters don't conform to the RFC.
Miguel, thanks for posting the RFC (in the prior email). That's what I based my ereg
on (as shown in yet another earlier email).
Enjoy,
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409