Jump to content
The simFlight Network Forums
Toni Henkel

Search Program to Read Offset information FSUIPC to Mysql

Recommended Posts

Hello, I have the following request:

 

I am using a PHP script that allows me to save my aircraft and store it in a MySQL database using IVAO API (whazzup -> http://api.ivao.aero/getdata/whazzup/whazzup.txt). Works without problems. Now I fly sometimes without IVAO and still want to read my flight data into a MySQL database (altitude, speed, departure airport, destination airport, latitude, longitude, airplane type, on ground ?, and other offsets -> http://www.projectmagenta.com / All-fsuipc-offsets). Can someone write a program with C ++ or JavaScript, which can read me via PHP, FSUIPC or SimConnect this data? I have already used a lot of Google, but no program found that accesses the interface via PHP. Please do not use an ACARS program, but a simple EXE or PHP file that connects and writes the live data into a MySQL database at intervals (Standalone Programm). Thanks
 
 
System: Windows 10
Flight Simulator: Prepar3D v4
 
I have long times experience with PHP scripts, but not experience with JavaScript, LUA or C++, i hope anywhere can write my a simple prgramm for windows

Share this post


Link to post
Share on other sites
1 hour ago, Toni Henkel said:

I have already used a lot of Google, but no program found that accesses the interface via PHP. Please do not use an ACARS program, but a simple EXE or PHP file that connects and writes the live data into a MySQL database at intervals (Standalone Programm).

There's a reason you haven't found anything - PHP is a language for web servers, not clients. To be honest, if you don't have the client-side development expertise to do it yourself, you're probably best off with some sort of pre-made flight recorder. You can always take a peek at simFDR - it should do what you want, except no P3Dv4 support yet.

Development has been on a hiatus but I should probably get it up to speed with modern sims.

Cheers!

Luke

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

×

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.