Go to content Go to navigation Go to about page Go to archive
Previous: Project Hello | Next: Sony SNC-M1, round three

DHL tracking tool

Some days ago I was awaiting a package with DHL. It was posted to my old address, in a different city than I am living now. I had to change the reciepent address, for that a package ID number was needed. A friend of mine was receiving the same stuff at the same time, so I could search my package based on his ID number.

The number was xxxxxxxxyz. I tried increasing/decreasing z, but I got some “Invalid ID” messages from Javascript. This meant there is some check (checksumming) mechanism written in DHTML. It turned out, that z is the checksum, and I need to increase/decrease y, thanks to this I was able to find out my package number :)

-break->
I wrote the following “AJAX” code based on those Javascript sources, the whole can be downloaded here. This work is available under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. Now try it out:


In the following form enter either a:

  • 9 digit number to add a checksum to it
  • 10 digit number to validate checksum
  • or 10 digit number to fix the leading checksum


Awaiting your commands, master!




Do it!




Track item!

Commenting is closed for this article.