PHP Classes

File: testshiptrack.php

Recommend this page to a friend!
  Classes of SuperTom   ShipTrack   testshiptrack.php   Download  
File: testshiptrack.php
Role: Example script
Content type: text/plain
Description: Test file for ShipTrack class
Class: ShipTrack
Ship Tracking Class
Author: By
Last change: changed name of file, and code, as class name was changed - no other code was modified.
Date: 21 years ago
Size: 464 bytes
 

Contents

Class file image Download
<?
# testshiptrack.php - test use of shiptrack class - note all shipping numbers are not valid.

   
include "shiptrack.inc";
   
$MyLink = new ShipTrack();
   
$MyLink->PrintLink("UPS","1234324324","1","","_blank","foobar");
    echo
"<br>";
   
$MyLink->PrintLink("FEDEX","234234234","<font face=\"arial\"><B>FEDEX</B></font>","","_blank");
    echo
"<br>";
   
$MyLink->DEBUG=1;
   
$MyLink->PrintLink("CCX","EI_053_12345675","1","","_blank");

?>