Added PHP implementation of simple TME API call.