Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ramaboo committed Jan 14, 2012
1 parent a6d3610 commit 2e0a56d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
@@ -1,15 +1,19 @@
# Vehicle Identification Number (VIN) validation function written in PHP. Validates against the ISO 3779 standard.
# Vehicle Identification Number (VIN)

Validation function written in PHP. Validates against the ISO 3779 standard.

See: http://en.wikipedia.org/wiki/Vehicle_identification_number

Example:

```
if (is_vin('1M8GDM9AXKP042788')) {
echo 'valid';
} else {
echo 'not valid';
}
```

This function will work for any US/Canadian automobile made after January 1st, 1980.

Tested with PHP 5.2.x however it should work with older versions.

0 comments on commit 2e0a56d

Please sign in to comment.