Jump to content
The simFlight Network Forums

Interfacing with PHP and MySQL


Recommended Posts

Good morning,

I own a small VA all coded in PHP. Till a couple of months ago we used to check exams for airplane qualification via FS2002's videos. Now we are trying to find the way to make the examination automatic.

What we wanna reach for is getting flight datas from the plane flying online and check 'em via a PHP script. If altitude, speeds and so on are within the standards the pilot gets the qualification for that plane else not.

Does FSUIPC output variables "PHP readable"? Is there a paper that could teach me what variables and how to "fetch" their values?

Thank you in advance.

Link to comment
Share on other sites

Good morning,

I own a small VA all coded in PHP. Till a couple of months ago we used to check exams for airplane qualification via FS2002's videos. Now we are trying to find the way to make the examination automatic.

What we wanna reach for is getting flight datas from the plane flying online and check 'em via a PHP script. If altitude, speeds and so on are within the standards the pilot gets the qualification for that plane else not.

Does FSUIPC output variables "PHP readable"? Is there a paper that could teach me what variables and how to "fetch" their values?

Thank you in advance.

Link to comment
Share on other sites

Does FSUIPC output variables "PHP readable"? Is there a paper that could teach me what variables and how to "fetch" their values?

FSUIPC does not output anything. It provides an interface for programs to read and write values. The same interface is duplicated on Networked PCs via WideFS.

Full details and tools for using this iterface in C/C++, Delphi, Visual Basic or even Assembly Code are included in the FSUIPC SDK ("Software Development Kit").

Pete

Link to comment
Share on other sites

Does FSUIPC output variables "PHP readable"? Is there a paper that could teach me what variables and how to "fetch" their values?

FSUIPC does not output anything. It provides an interface for programs to read and write values. The same interface is duplicated on Networked PCs via WideFS.

Full details and tools for using this iterface in C/C++, Delphi, Visual Basic or even Assembly Code are included in the FSUIPC SDK ("Software Development Kit").

Pete

Link to comment
Share on other sites

Interfacing with PHP/SQL sounds like a noble challenge - but you've got a bit coding to do (and FSUIPC SDK to learn;)

We've been using flight validation for the past three years at AeroTexas.com - first with APLC adventure file coding and later using Pete's FSUIPC and VB6. I must admit the latter is alot easier, and we're using a text file for the main database of user's flights. I'd suppose it to be rather straightforward to interface with PHP/SQL, but I'm not that familiar with it.

Send me an-email (garen@aerotexas.com) if you'd like more details - I've got some code that could probably save you alot of time if you're using VB6.

=

Garen

Link to comment
Share on other sites

Interfacing with PHP/SQL sounds like a noble challenge - but you've got a bit coding to do (and FSUIPC SDK to learn;)

We've been using flight validation for the past three years at AeroTexas.com - first with APLC adventure file coding and later using Pete's FSUIPC and VB6. I must admit the latter is alot easier, and we're using a text file for the main database of user's flights. I'd suppose it to be rather straightforward to interface with PHP/SQL, but I'm not that familiar with it.

Send me an-email (garen@aerotexas.com) if you'd like more details - I've got some code that could probably save you alot of time if you're using VB6.

=

Garen

Link to comment
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...
 Share

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