mail] PHP/shell script]
Dave Hull
dphull at insipid.com
Sat Aug 16 02:26:17 CDT 2003
On Fri, 15 Aug 2003, Kain wrote:
> On Fri, Aug 15, 2003 at 02:45:46PM -0500, Dave Hull wrote:
> > On 15 Aug 2003, brad wrote:
> >
> > This approach is widely considered the "best practice." For email addresses
> > you're probably looking at the following set of characters [0-9A-z_.@] of
> > course, there could be others.
>
> There have been regular expressions implemented that you can test an email
> address against to see if it is valid. Please google for one of these (e-mail
> regex) and use that instead of re-inventing the wheel. :)
Excellent idea.
> That way you'll also be able to handle much of the strange stuff like people
> with french addresses using the accented characters in their addresses.
Ah Unicode.
--
Dave Hull
http://insipid.com
furbling, v.:
Having to wander through a maze of ropes at an airport or bank
even when you are the only person in line.
-- Rich Hall, "Sniglets"
More information about the Kclug
mailing list