i don't think it would be hard, but i don't know much about how vin numbers are formatted. is it the same format each time, if so it won't be hard.
kkeith29
Nearly a Posting Virtuoso
1,353 posts since Jun 2007
Reputation Points: 235
Solved Threads: 194
Vai
Junior Poster in Training
75 posts since Jan 2008
Reputation Points: 12
Solved Threads: 5
pretty much use substr() to get the values you need. then run that string through the database to find the value they stand for. pretty simple.
kkeith29
Nearly a Posting Virtuoso
1,353 posts since Jun 2007
Reputation Points: 235
Solved Threads: 194
i was thinking of using a database (mysql,ect.) to store the meanings of each piece of the vin number. (for decoding the vin) i don't know the specifics so this may not be needed.
$vin = '4H27F2G111111';
$part1 = substr($vin,0,1);//returns 4
$part2 = substr($vin,1,1);//returns H
$part3 = substr($vin,2,2);//returns 27
//i think you can figure the rest out.
//after you get each piece. run them through a database to find what they stand for.
kkeith29
Nearly a Posting Virtuoso
1,353 posts since Jun 2007
Reputation Points: 235
Solved Threads: 194