Has anybody done a query for Arrival and Departures for a specific airport in PHP? I can’t seem to get it to work and keep getting 500 server errors with my query. Any help would be greatly appreciated.
This is what I am currently trying:
<?php $options = array( 'trace' => true, 'exceptions' => 0, 'login' => 'zinnsterx', 'password' => 'APIKEY', ); $client = new SoapClient('http://flightxml.flightaware.com/soap/FlightXML2/wsdl', $options); // get the weather. $params = array("airport" => "KPHL","howMany" => 20,"offset" => 1); $result = $client->Enroute($params); print_r($result); ?>