View flight plans from your own website.

You are missing something, or have a cool idea for us ? Tell us here !

Moderator: FSAirlines Staff

Post Reply
Munch

View flight plans from your own website.

Post by Munch » Fri Feb 09, 2007 8:15 am

Hi guys,

Ive just made this little script for my site and thought i would share it with you.
Demo: Here
Download: Here or Here

What it does:

It reads the flightplan text file that can be downloaded from your airline at
"Virtual Airline --> Flightplan --> Download Flightplan --> TXT file"
Then convert's it into a table.

How to use it:

Download your company's flightplan.
Open your company's flightplan and add the following text to the first line:

Code: Select all

Flight No,From,To,ETD,ETA,Aircraft,SR,Price
Then remove the 2 comma's at the end of every line in the text file.
(A quick way to do this is to open it in notepad and goto Edit --> Replace, in "Find what" type "$,," in "Replace with" type "$" then click "Replace All")

Upload the 4 files (fp.php, fp.css fp-config.conf & your company's flightplan) to your website
Edit fp-config.conf and fp.css to suit your needs.

Then open http://yourwebsite.com/fp.php in a browser and enjoy :)

Thanks
Chris
Last edited by Munch on Fri Feb 09, 2007 8:46 am, edited 1 time in total.

IslandBum
Captain
Posts: 417
Joined: Sat Jun 03, 2006 8:36 am
Location: The middle of a bloody desert - surrounded by bright lights, long legged women and Paupers
Contact:

Post by IslandBum » Fri Feb 09, 2007 8:41 am

Your first Chris?

:D

Leif
Ho'olu komo la kaua
Leif Harding
Chief Cook and Bottle Washer
Venture Hawaii PLC

Munch

Post by Munch » Fri Feb 09, 2007 8:48 am

yeah :) if it gets used then ill see what i can do to make it better.

IslandBum
Captain
Posts: 417
Joined: Sat Jun 03, 2006 8:36 am
Location: The middle of a bloody desert - surrounded by bright lights, long legged women and Paupers
Contact:

Post by IslandBum » Fri Feb 09, 2007 9:46 am

Not what I meant actually - I was referring to your signature - your first child?


LOLOL

Leif
Ho'olu komo la kaua
Leif Harding
Chief Cook and Bottle Washer
Venture Hawaii PLC

Munch

Post by Munch » Fri Feb 09, 2007 9:55 am

ahh sorry, yeah its my first child :)

User avatar
Wolfar100
Chief Pilot
Posts: 980
Joined: Thu Dec 21, 2006 3:10 pm
Contact:

Post by Wolfar100 » Fri Feb 09, 2007 12:47 pm

This has already been done. Not to rain on your hard work or anything like that. Check out this link and to see it fully implemented check out Wolf AirLines website which has a LOT more implemented and it is all for free. You just have to link to it.

http://flynet.en-studios.de/remote/flyn ... hp?rvi=922
Wolfar

Wolf AirLines CEO
http://members.cox.net/wolfar/index.htm

20 Year US Navy Retired
Former Squadron CO and founder:
1997~2003
JG2, JG26, Strike Masters

Image

User avatar
oge978
FSAirlines DB Admin
Posts: 282
Joined: Tue Dec 12, 2006 8:19 am
Location: Turkey
Contact:

Post by oge978 » Fri Feb 09, 2007 5:57 pm

Hi Chris,

Good script and nice work ...

But as Donald said in the above topic we already have a complete integration for VA's which is done by the approval of FlyNET .

You can check the project homepage for other details and links

http://flynet.en-studios.de/remote

BTW congrats. for the first child , I can imagine your thoughts and happiness 'cause I had mine 5 years ago with a litte difference ... My first is a PRINCESS :)

With love,

Munch

Post by Munch » Sat Feb 10, 2007 3:37 am

i didnt realise there was already something out there that did the same job :oops:
oh well

Post Reply