A simple PHP class to use the API provided by osTicket (thanks to code at http://www.andrewbennett.com.au/2013/06/creating-a-ticket-via-the-osticket-api-using-php-cron/)