Jump to content

SSO in local PHP project


Recommended Posts

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 post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...