smokey68 Posted June 18, 2017 Report Posted June 18, 2017 How would it be possible to pull information such as an airline name, total pilots, pending pilots, number of schedules, number of flights, all this information into a web page from a public web address such as http://www.mywebsite.com/core/airlinestats.php ? somthin another like that because you cant pull the information from the codon config since the local config is encoded and it uses that to get the information is it possible ? Quote
Members Vangelis Posted June 18, 2017 Members Report Posted June 18, 2017 can you please refrase your question ? or write an example as i dont realy understand what you want to do Quote
Moderators Parkho Posted June 29, 2017 Moderators Report Posted June 29, 2017 (edited) On 6/18/2017 at 0:21 PM, vbegin7 said: How would it be possible to pull information such as an airline name, total pilots, pending pilots, number of schedules, number of flights, all this information into a web page from a public web address such as http://www.mywebsite.com/core/airlinestats.php ? somthin another like that because you cant pull the information from the codon config since the local config is encoded and it uses that to get the information is it possible ? Go to my website www.parkho.ir and "login" then in "Modules-Pilots", click "Statistics" and tell me if that's what you're looking for. Edited June 29, 2017 by Parkho Quote
smokey68 Posted June 30, 2017 Author Report Posted June 30, 2017 no what im looking for is a way to pull all updated and live information from a phpvms installation onto another php page on another website whole nother domain. sorta like vacentral but not how it pulls information such as number of pilots number flights etc... Quote
Moderators Parkho Posted June 30, 2017 Moderators Report Posted June 30, 2017 4 hours ago, vbegin7 said: no what im looking for is a way to pull all updated and live information from a phpvms installation onto another php page on another website whole nother domain. sorta like vacentral but not how it pulls information such as number of pilots number flights etc... The other domain, is it on the same host? If not, you need phpVMS API to achieve that and I don't think phpVMS has an API. If your other domain is on the same host as phpVMS then it is possible to write a code to connect to your DB and pull the information on the other domain. Quote
Members Vangelis Posted June 30, 2017 Members Report Posted June 30, 2017 (edited) you can create a module your self that will display the items in a json or xml format and then pick it up from the other domain Have a look at this and this Edited June 30, 2017 by Vangelis Quote
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.