Category — usps
rawtracker 1.1 released
![]()
Rawtracker is an application written in PHP that you can add to your website that allows your users to track their United States Postal Service (USPS) packages.
Installation
Step 1: Upload all files from the rawtracker download to your website.
Step 2: Open plugins/configure.php and add your USPS account information.
define("USPS_USERNAME","***Your usps username goes here***");
define("USPS_TIMEOUT",'5');
You will need to get a USPS web services account (available for free here).
When you register for an account, it will only have access to the USPS test servers. The variable above can be changed to the following for testing:
After a few test requests are sent out, your account can then be upgraded to production level (and the URL will need to be changed back to the production servers).
Step 3: Adding rawtracker to your site is pretty easy.
In the header of your page, add the following:
<script type="text/javascript" src="rawtracker/js/rawtracker_popup.js></script>
<link rel="stylesheet" href="rawtracker/css/rawtracker.css" type="text/css" media="screen">
In the body add:
<input type="button" value="Track" onclick='trackLaunch()'>
Download
Rawtracker 1.1 can be downloaded Here.
October 31, 2009 2 Comments