Subj : Funny code section
To   : Mvan Le
From : mark lewis
Date : Sun Mar 14 2010 09:28 am


MvLe> Was trying to modify phone number validation and saw this:

MvLe>   /* Asshole detector */
MvLe>   if (stristr(szNewPhone, "555-1212") || stristr(szNewPhone,
MvLe> "5551212"))   {

yeah, that the information operator number here in the states... it is invalid
for a home or data number for anyone... also, the 555-0100 thru 555-0199 are
reserved for for fictional use are are guaranteed to "not connect anywhere"...
the others in the 555 exchange are and have been allocated... these numbers are
not limited to any specific areacodes, either... 919-555-1212 get the
information operator for areacode 919... 800-555-1212 gets the information
operator for the 800 toll-free areacode... 225-555-1212 gets the information
operator for the 225 areacode... i don't think it'd be a good idea to pull that
validation out ;)

)\/(ark


* Origin:  (1:3634/12)