Tracking Number Finder Script
I need a script that will submit tracking numbers to courier site until it find the match with the postcode of ours. You’ll probably use cURL/socket/php etc. for this. You know which technology is best for this. I need this quick though. If you know what you’re doing I think it should be done in 25mins.
I’ll provide the sites in a separate email if needed.
Tracking Number Finder (2 courier company sites)
Site 1: ***
a) Senders Ref: name=”senderRef”
b) Delivery Post Code: name=”postcode”
What is required?
The client receives deliveries through this courier company but does not usually get tracking number. We need to find out tracking numbers.
How it will work?
You enter Senders Ref and then delivery post code and if you have a delivery match it will show page with details, we need that VALID TRACKING NUMBER. We will have a page with two text input boxes with Senders Ref START STRING and the Post Code to match. The script will submit and get result, if null then add +1 to the Senders Ref entered and try again until successful.
Site 2: ***
Section: Either Section
Fields concerned: *Parcel Number: text input box
What is required?
The client receives deliveries through this company but does not usually get tracking number. We need to find out THE RIGHT tracking number.
How it works?
You enter your parcel tracking number and click continue to the next page. The next page shows you address where the parcel is going.
How the script should work?
The script will start with an input string the user enters in the textbox.
The user also enters Post Code for match.
If no result +1 auto increment and run again, so use $ref_number ++
Look at the result and match postcode, if null, try again until result with the same postcode is found.
Simply Enter the postcode and tracking number in the db.
So there is just a slight difference in the same script but mostly it will function the same. In the first one you will not get a match unless there is an EXACT MATCH between the tracking number and the post code but the 2nd Site Parcelforce will give you result once a valid tracking number is entered but then it needs to be matched up with the POSTCODE given to ensure only the right one is returned.