Jump to content

Recommended Posts

Posted

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>

 

  • Moderators
Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...