NYCPHP Meetup

NYPHP.org

[nycphp-talk] Sneaking in unwanted characters

Jeff jsiegel1 at optonline.net
Wed Sep 10 16:44:15 EDT 2003


I explained it but...the client pays the bills so...do as the client
says.

Jeff Siegel

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Chris Shiflett
Sent: Wednesday, September 10, 2003 3:19 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Sneaking in unwanted characters


--- Jeff <jsiegel1 at optonline.net> wrote:
> My client doesn't want anyone who visits his website to enter an email
> address like www.me at mydomain.com.

Others have mentioned this, but that is a perfectly valid email address.
Maybe
instead of spending time writing a regex to exclude some special case,
you
should take the time to make sure your client understands what an email
address
is. Is there a valid reason to exclude some email addresses and not
others?
Why? Don't hesitate to question a client.

As a consultant, I would consider it my responsibility to do so.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list