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

PHP demo code gives error


Alperen Sonad 1136566
 Share

Recommended Posts

Alperen Sonad 1136566
Posted
Posted

Hello all,

 

I have uploaded demo codes and demo keys to my server but it isn't working.

URL: https://sso.airanatoliava.org

 

Script returns false, I have read all topics but couldn't see any example or explanation about it.

How am I supposed to use this script? If parameters needed, which parameters should I use or send?

 

Best regards,

Alperen SONAD

COO and Webmaster at Air Anatolia VA

Link to comment
Share on other sites

Alperen Sonad 1136566
Posted
Posted

Problem solved with using another example which shared on this link => https://github.com/KiloSierraCharlie/VATSIM-SSO

Alperen SONAD

COO and Webmaster at Air Anatolia VA

Link to comment
Share on other sites

Kieran Samuel Cross
Posted
Posted

Could you post the configuration code you were using?

 

My little "thing" there isn't my favorite or best, and it's probably better if you use the recommended one.

Kind Regards,

Kieran Cross,

 

28.png

Link to comment
Share on other sites

Kieran Hardern
Posted
Posted

The only difference I can see between the code sets is that it handles the errors differently and it fills out the config file for you in the source.

 

Therefore, it's fairly safe to [Mod - Happy Thoughts]ume you filled out something wrong in the config.

Link to comment
Share on other sites

Kieran Samuel Cross
Posted
Posted

As a note, I've just updated my repository so that it now reflects a nicer OOP method of authenticating, it may be of better interest to you.

Kind Regards,

Kieran Cross,

 

28.png

Link to comment
Share on other sites

 Share