Emil Edeholt schreef:
Hi
Sorry if this is considered off topic. Please ignore the post in that case.
My site uses ten digit numbers as ID:s for our products. I would like
the last digit to be a verification/check digit. I was just about to
just make some simple function that would add the
Hi,
Thanks for your sugestions. I ended up using the Luhn algorithm. Simple
but I think it will work for me.
http://en.wikipedia.org/wiki/Luhn_algorithm
Emil
George Pitcher wrote:
Emil,
have you looked at the 10-digit ISBN verification, which has just been
replaced by the 13-digit EAN
Emil Edeholt wrote:
George Pitcher wrote:
Emil,
have you looked at the 10-digit ISBN verification, which has just
been replaced by the 13-digit EAN system?
It may be of use, but it needs the field to be varchar as the
checkdigit may be a 'X'.
AFAIK, the 10-digit ISBN numbers use the
On Thu, January 24, 2008 5:37 am, Emil Edeholt wrote:
Sorry if this is considered off topic. Please ignore the post in that
case.
My site uses ten digit numbers as ID:s for our products. I would like
the last digit to be a verification/check digit. I was just about to
just make some simple
google mod10 checksum
bastien
Date: Thu, 24 Jan 2008 12:37:20 +0100 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] Verification number Hi Sorry
if this is considered off topic. Please ignore the post in that case. My
site uses ten digit numbers as ID:s for our
5 matches
Mail list logo