Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.
PLEASE READ - Webmaster Support Forum
This forum will be retired in the near future. Please direct all queries to our dedicated GitHub support page https://github.com/vatsimnetwork/developer-info/discussions 
Here you can find documentation on our services and we are continuing to migrate pertinent information into the Wiki pages https://github.com/vatsimnetwork/developer-info/wiki

SSO in local PHP project


Leslie Jarrett
 Share

Recommended Posts

Leslie Jarrett
Posted
Posted

Hello , As a VATSIM VASOPS AUDITOR , i was working on the possibility to semi-automate the data verification I do.

 

Many virtual airlines send me lists of the pilots and the VATSIM PID codes and at present I am working from a spreadsheet each time. I want to load the data into an MYSQL table and read each record in turn and p[Mod - Happy Thoughts] the call in PHP to goto the stats data and then I can make my audit test easier and quicker I am ok with the calling process but it asks me to log-in but it does not take my login. K need perhaps some help on this if possible

 

here is my starting code

 

<?php

// ******************************************************************

// PHP script VATSIM.PHP

// Leslie Jarrett - JULY 2019

// ******************************************************************

//

echo "

VATSIM AUDIT PROCESS". "

";

echo "

[VATSIM.PHP] GETTING VATSIM DATA ".date('H:i:s', time()). "

";

//

// set up data link

//

$Vatsimdata = "https://stats.vatsim.net/conn_details_time.php?id=945509&timeframe=3_months";

//

// Connect to Vatsim to get the pilot data

//

echo "

Getting data from VATSIM STATISTICS "

.date('H:i:s', time() - date('Z')). "";

//

echo file_get_contents($Vatsimdata);

//

echo "

Finished Getting VATSIM DATA "

.date('H:i:s', time() - date('Z')). "";

?>

 

it does not do much at present as it goes to the sign-on screen and when I try to sign on it does not accept it

Link to comment
Share on other sites

 Share