Hi,
Is there a way to check the validation of a given Banknumber ?
In Europe the bank have numbers based on the so called IBAN notification and verification.
I've found PHP code for checking that but can’t find out, lack of knowledge, of that code is secure/outdated/ right statements for "current” PHP version.
So if it is possible I would ask for a standard implementation for this IBAN check.
Hereby the link to the found PHP-code: https://gist.github.com/cryptexvinci/fc ... n-iban-php
Ron
Validation Banknumber field
Re: Validation Banknumber field
try putting the function
checkIBAN($iban)
in header-extras.php and then call it in _before_insert and _before_update hook. pass $data['YOUR_FIELDNAME']
Cancel insert/update depending on the return value.
checkIBAN($iban)
in header-extras.php and then call it in _before_insert and _before_update hook. pass $data['YOUR_FIELDNAME']
Cancel insert/update depending on the return value.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityRe: Validation Banknumber field
Jsetzer, Thank youfor the fast suggestion .
I'll try to place it in the right way in the mentioned files.
Ron
I'll try to place it in the right way in the mentioned files.
Ron