Created
May 2, 2009 07:45
-
-
Save halka/105459 to your computer and use it in GitHub Desktop.
Vatsimのstatusをserverからgetしてjsonで返します。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
you can get vatsim's online status. | |
httprequest from another script. | |
data format : http://www.bbflights.com/VatsimPHP/manual.php | |
using Vatsimphp by Brian Beach http://www.bbflights.com/VatsimPHP/ | |
*/ | |
require_once 'VatsimPHPgenerator.php'; | |
$vsg=& new VatsimPHP; | |
$online=$vsg->clients(); | |
$json=json_encode($online); | |
echo $json; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment