Jump to content

Recommended Posts

Posted

Hello;

I would like to know if it's possible to use phpVMS users informations in an other file, for exemple I want to make a separate page for the pilot center and recover the total flight hours, the total flights ... informations.

Thank's ;)

Posted

Hello. Welcome to the forum :)

Yes, it is absolutely possible. On the php file, at the top add the following line:

<?php include '/path/to/core/codon.config.php'; ?>

For more information on how to implement this on your page, check out these documentations: http://forum.phpvms.net/page/index.html/_/developers-guides/how-to-use-and-access-the-api-r16

Here's also a thread created by a member of the community that shows some of the code snippets you can use, after having added that line: http://pastebin.com/ERuvPcmV

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...