Jump to content
Nabeel

phpVMS Navdata

Recommended Posts

Hey Nabeel, I read the readme but I'm not sure if i'm following the right path. What I did is that I imported the navdata sql into the phpVMS but I'm trying to get the route to know what route was it used on one of the PIREPS. What I am missing?

Share this post


Link to post
Share on other sites

How do we actually use this ?

Just import into the "navdata" table of your DB.

My question would be whether its best to delete the old table first, then import the new???

Share this post


Link to post
Share on other sites

Edit db.php

<?php

error_reporting(E_ALL & ~E_NOTICE);

$db = mysql_connect('localhost', 'edit_db_user_name', 'edit_db_password');
mysql_select_db('edit_db_name');

define('NAV_NDB', 2);
define('NAV_VOR', 3);
define('NAV_DME', 4);
define('NAV_FIX', 5);

As for the scripts. I put them in a site root

directory named "navdata" on my web server keeping file structure along with the fsbuild/fsbuild text files.

Then I ran it as a cron job....

or from browser run

http://site_url_goes_here/navadata/fsbuildparse.php

Edited by hurkulez

Share this post


Link to post
Share on other sites

The topic or board you are looking for appears to be either missing or off limits to you.


Please login below or register an account with Modding Unlimited.

 

How do I get the file? :) 

Edited by CPC900

Share this post


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.

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