Determine validity of GTINs via the Check Digit
This function checks the validity of GTIN-8, GTIN-12, GTIN-13, and GTIN-14 using the check digit.
A number of classes/functions have been written in different languages, such as Javascript and PHP - the supported list :-
Languages Supported
Javascript, PHP