Jump to content
vbegin7

airline data

Recommended Posts

vbegin7    7

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 ?

 

Share this post


Link to post
Share on other sites
Vangelis    768

can you please refrase your question ? or write an example as i dont realy understand what you want to do 

Share this post


Link to post
Share on other sites
Parkho    154
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 by Parkho

Share this post


Link to post
Share on other sites
vbegin7    7

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... 

 

Share this post


Link to post
Share on other sites
Parkho    154
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.

Share this post


Link to post
Share on other sites
Vangelis    768

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 by Vangelis

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×