Jump to content
The simFlight Network Forums

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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

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.