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