The traditional web programming way to do this is to put your file into a SQL database (fairly easy to do with comma-separated values) and then do a query. Something like:
SELECT * FROM jewels WHERE serial_min = serial
A quick PHP for that would take about 10 minutes to write. Of course, you need SQL up and running on your server.







