AW: [PEAR-DEV] Validate_DE
| From: | Stephan Schmidt | Date: | Tue, 21 Oct 2003 08:23:50 +0000 |
| Subject: | AW: [PEAR-DEV] Validate_DE | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22859@lists.php.net to get a copy of this message | ||
Hi,
> Okay - afaik there is no way to validate if a postcode is cirrect /
> registered, since there are many numbers also owned by poboxes etc.,
> right?
The method only checks if the format is correct.
There are ways to check postcodes, but AFAIK the list is not publicly
available anywhere...
> > - bankcode (only format)
I think this will make the whole thing quite complex...
You will later have 5 small classes for 5 simple methods.
I'm not sure if this will be useful...
> Is there any list of area-codes available that could be of use? I
> somewhere heard there should be a list available for the US. Maybe
> there's also one for Germany? If this is available in various
> countries somehow - how about opening a new "category" Validate-
> Telephone or similar which would have a DE.php-part?
I added mobile and commercial dialing codes, I don't think that other area
codes are of use for Validate...
Stephan