Jump to content

jmartinsen

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by jmartinsen

  1. Just setup a script that gets a code, checks it and echoes out the status of it.

     

    <?php
    
    
    /**
    * http://fastrak.com/track.php?code=ABCDEFGHIJ
    */
    
    
    // get the CODE from the GET varaible
    $code = isset($_GET["code"]) ? $_GET["code"] : "";
    
    
    // to whatever you need to do to check if that $code is valid
    // if its not valid return an 404 error
    
    
    // then get the status of that code
    
    
    $return = array(
       "status" => "get this status from the database or whatever",
    );
    
    
    // and echo that out
    echo json_encode($return);
    
    
    ?>
    

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.