Re: "id number" verification and interpretation
| From: | Stefan Neufeind | Date: | Thu, 08 Jan 2004 19:38:01 +0000 |
| Subject: | Re: "id number" verification and interpretation | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24903@lists.php.net to get a copy of this message | ||
Hi Hans-Peter,
reading your email I thought it would be really great to add this to
the Validate-package somehow, if Pierre agrees. E.g. in the
Validate_Finance you find that there are also many more things you
can do with an IBAN than just verify it. However we also provide
functions to simply validate a given IBAN (since this is used in most
cases) and just return true / false. Maybe you could have a look at
the current implementation in the package and propose an extension
for the Swiss part of Validate (Validate_CH)? As soon as you're done
it would be great if you could put a .phps-file on your webserver and
email me + Pierre again - private and/or via the mailinglist.
Regards,
Stefan
PS: Thank you for your work so far ...
On 8 Jan 2004 at 19:49, Hans-Peter Oeri wrote:
> Hi!
>
> As my previous post obviously didn't come through (I hope the news
> server accepts submissions...) I try once again...
>
> I didn't find any framework for testing and interepreting all those
> "id numbers" one has to use - Swiss SSN and immatriculation numbers
> for my current purpose. That's why I wrote a little concept that I
> humbly submit to you for commenting:
>
> http://www.oeri.ch/ID/
>
> Contrary to "Validate", it should not be a generic validation
> collection. It covers "ids" ONLY but goes deeper, not only verifying
> but also interpreting a given id and forming different representations
> of it. However, I consider CREATING ids out of scope...
>
> On the directory mentioned above, you find some source, an example,
> phpDocumentor docs and a unit test - using included "simpletest" I
> know already.
>
> As I mentioned in the README, the naming is not fixed at all. I
> appreciate suggestions ;) Let me know, what you think of it or even
> that something on the line does already exist!
>
> Hans-Peter