Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [mv] Email syntax



Victor Nolton <ven@pragakhan.com> writes:

> 	There are some sites that still exist on the minivend 3 and 4 
> plateform.
> 
> I was curious, and I haven't checked out the routine for this. but in 
> the checkout profiles there is usually a email=email which checks 
> email syntax (though it is not 100% accurate, as no program can be), 
> I was wondering if it will complain about a .biz and .info domain 
> should they become available.
> 
> Just curious.
> I dont know if it actually looks at the ending or just sorta counts 
> the .'s in the email addy.

I don't think that the email check code had changed since MV.
Here it is:

	if($val and $val =~ /[\040-\176]+\@[-A-Za-z0-9.]+\.[A-Za-z]+/) {
		return (1, $var, '');
	}

Ciao
		Racke

-- 
Master of Swiss Web 2001: http://www.zweifel.ch/

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
Minivend-users mailing list
Minivend-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: