HELLO EVERYBODY,
Here is my PHP code which i tried to get enroute:
$options = array(
‘trace’ => true,
‘exceptions’ => 0,
‘login’ => ‘JASS404’,
‘password’ => FA_KEY,
);
$client = new SoapClient(‘http://flightxml.flightaware.com/soap/FlightXML2/wsdl’, $options);
// get the weather.
$params = array(
“airport” => “YPAD”,
“howMany” => 15,
“filter” =>‘’,
“offset” => 0 );
$resultEnroute = $client->Enroute($params);
This results has older flights, but I need flights coming in next 5 hours.
So my requirement is, whenever I send a request, it will return me flights enroute in next 4 or 5 hours, no old flights.
WHAT CODE I USED TO GET ENROUTE FLIGHTS IN NEXT 4 HOURS?
THANKS