joeholden Posted July 5, 2014 Report Share Posted July 5, 2014 Hi Guys, On our site, when in the registration process, the pilot has to enter their VATSIM CiD. Once registered, that data gets passed to the back-end for the pilot to get accepted/rejected, and the CiD they entered is displayed, my question is, is there a piece of code or API out there that will display the pilots name from VATSIM on the back-end VMS so we can check the name they entered in our system corresponds with that of the VATSIM account. Thanks, Joe Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted July 5, 2014 Moderators Report Share Posted July 5, 2014 You can use this link: https://cert.vatsim.net/cert/vatsimnet/idstatus.php?cid=xxxxxxx Where xxxxxxx you should replace it with the pilot's vatsim cid. You can create a code which will get the data from this page and place it on your website. Unfortunately, i have never worked with xml so i can't help you more. George Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted July 5, 2014 Members Report Share Posted July 5, 2014 This is a function that i created for you just copy the file in /core/common and call it with echo vatsimpilotchk::search_pilot_online(Here you need to put somehow the vatsim id); this will bring the last name and first time from vatsim cert server vatsimpilotchk.class.php Quote Link to comment Share on other sites More sharing options...
joeholden Posted July 5, 2014 Author Report Share Posted July 5, 2014 Thank you Vangelis, I will try this now! servetas, thanks for your reply! Joe 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.