Usps Tracking Custom Script

Usps Tracking Custom Script
I need a simple php script.
Its related to USPS Track and Confirm.

What I need is a big text field, where I can post over 50 tracking numbers (example of field http://www.mnr-tech.net/track/form.html)

The tracking numbers shall be posted in this style separated by enters:

420331229102076346530675020927
420331229102105280940478552174
420331229101010521297748702787
420331229102105280940478455376
420331229101805213907434447569
9102834369803111208720
420331229102900005667101527409
9101805213907378775193
420331229102148008600610414467
420331229101010521297741540737
420331229102126526024728196746
420331229101150134711102294981

Once you submit the script will automatically check the status of all the trackings (most of them will already be delivered).

I want the script to make different boxes, separating all the trackings by the zip code where it was delivered.

So for example this tracking:

4203 3122 9101 1501 3471 1102 2949 81
Your item was delivered at 2:42 PM on March 13, 2010 in MIAMI, FL 33122.

You see the zip code of delivery was 33122.

All other information is irrelevant to me, the ONLY information I need is the zip codes.

So for example the result will be.

——————————
[ 33122 ] [ 33139 ] [ 33136 ] <- Zip codes
[ ] [ ] [ ]
[ 33 ] [ 10 ] [ 7 ] <- Number of trackings per zip code

I also want the boxes to be click able, when you click on the box it takes you to a page where it shows you all the trackings for that zip code, so for example you click 33122

Tracking numbers for 33122

420331229102076346530675020927 – 33122
420331229102105280940478552174 – 33122
420331229101010521297748702787 – 33122
420331229102105280940478455376 – 33122
420331229101805213907434447569 – 33122

All the tracking being search have already been delived.

Leave a Reply

Your email address will not be published. Required fields are marked *