How to use file .php with phpVMS

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

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:

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

1 Like