gman1235435 Posted June 27, 2017 Report Share Posted June 27, 2017 I am trying to make a way for pilots to search any meter they want. I have done this so far, and it doesn't work, can someone please help? <div> ICAO Code: <input type="text" name="icao"> <input type="submit"> <?php $metar = $_POST['metar']; $url = 'http://metar.vatsim.net/'.'icao'.''; $page = file_get_contents($url); echo $page; ?> </div> Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted June 29, 2017 Moderators Report Share Posted June 29, 2017 On 27/6/2017 at 4:49 PM, gman1235435 said: I am trying to make a way for pilots to search any meter they want. I have done this so far, and it doesn't work, can someone please help? <div> ICAO Code: <input type="text" name="icao"> <input type="submit"> <?php $metar = $_POST['metar']; $url = 'http://metar.vatsim.net/'.'icao'.''; $page = file_get_contents($url); echo $page; ?> </div> Parkho has a module for that: https://github.com/parkho/Aviation-Weather-V1.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.