On 4/9/2009 at 5:31 PM, Kimis said:
and more.. after checking i haven’t found reason in this:
preg_match(‘/^([A-Za-z]*) - .*/’, $_POST[‘DepartureIcaoName’], $aptinfo);
$depicao = $aptinfo[1];
and this:
preg_match(‘/^([A-Za-z]*) - .*/’, $_POST[‘ArrivalIcaoName’], $aptinfo);
$arricao = $aptinfo[1];
actualy $_POST[‘DepartureIcaoName’] and $_POST[‘ArrivalIcaoName’] contains ICAO codes. strings above returns empty arrays. I have made following changes:
$arricao = $_POST[‘ArrivalIcaoName’];
$depicao = $_POST[‘DepartureIcaoName’];
and pirep finaly appeared in system
Hello; I know it’s been a long time, but if it’s still possible, wouldn’t you have the FSPax.php file with the changed lines available? Thank you.