Sava
Members-
Posts
575 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Sava
-
^Agreed. Not such a good design if you ask me...
-
Air Serbia Virtual Site Redesigned - Need opinions
Sava replied to Sava's topic in Virtual Airlines Discussion
@Vantiy The pilots that only look at the website's look are the ones I wouldn't want in my VA. @edmundk Means a lot! Thank you! -
You are more than welcome Daniel. If you need any more help, feel free to ask. Also, you should check out http://docs.phpvms.net/api for the list of all the functions etc. It helps a great deal!
-
I didn't do much yet but first of all I started displaying only the airports from the last arrived to airport in the schedules. The next thing to do was start programming the fleet positioning and incorporating all of that to display correctly in kACARS. I will be going away on holiday on Wed but once I am back I will get to work on that
-
+1 I started changing some PHP to make this work but didn't have time to complete? Anyone else did this and willing to share?
-
<?php echo PilotData::getProperPilotID($pilotid) ;?> Enjoy
-
I responded to Joeri privatly. Everything is set up and running and you can find us at http://www.airserbiavirtual.com or on the old url, http://www.skysim.net/airserbia/ Cheers!
-
Just got the domain and hosting! Excellent fast service! Everything is completed in less than 10minutes! My best recommendations to all of you! Hope this service continues!
-
Yet again? Oh yea, it is June... (rofl) /sarcasm
-
I would like to see complete fleet and pilot tracking so you have a list of what planes are at which aiport and allow/prevent flights accordingly. Is this possible Nabeel?
-
The basic idea is to create a form <form method="post" action="yourfile.php"> <input type="text" name="ur_name"/> <!-- some more input fields here --> <input type="submit" name="submit" value="Submit Form!"/> </form> and then inside yourfile.php do something like <?php $name=mysql_escape_string($_POST['ur_name']; //and same goes for other fields if( some verification you want here) { mysql_query("INSERT INTO TABLE_NAME (name, and other values separated by , ) values ('$name')"); }else{ //do something else } ?> To display the info: <?php $query = mysql_query("SELECT * FROM users"); $count = mysql_num_rows($query); $smth=mysql_fetch_array($query); if ( $count > 0 ) { echo $smth['name'] //and other from array } else { echo "no data can be retrieved for specifed conditions or smth like that"; } ?> Bare in mind that I wrote this in 3mins and that this is not completely correct way of doing things and it can be prone to a lot of hacks. This is just to give you a basic idea on how to do things. Check W3 schools to see how to INSERT, GET, DELETE, CHANGE etc. stuff from a MySQL database using PHP. Hope this helps you out a bit.
-
If you don't forward the port, then no one can access it. If you do, they can. edit: wrote at the same time as Tom.
-
XD! Tom, you always cheer me up.
-
I thought so too but he says he wants a stand alone application
-
I am very busy and I am not sure when I will be able to work on the code. But when I get time, I will try. I am new to PHP so it might take time
-
Just got 15 free minutes. It would be good if you can explain in detail on what you actually want to do with the data as I can maybe do a different approach. If you only want to have a loginscript that checks for the user info, it can be done more easily with something like (considering you got the username and password entered in the form, stripped them of anything that can hurt your website and loaded them into variables) $q=mysql_query("SELECT * FROM phpvms_pilots WHERE pilotid='$id_entered' AND password='$pass_entered'"); $count=mysql_num_rows($q); If( $count == 1) { // do what you want here } else{ echo "The login info is not correct etc"; though you should check how phpvms stores passwords, they are hashed and have a salt so you have to acount for that also. If you just want the arrays you can do a query like SELECT * FROM phpvms_pilots and than do while($rows=mysql_fetch_array(your query)) $ids[]=$rows['pilotid']; Etc With that you can get a specific id. For example echo $ids['0'] would show you the id that is first in the table. The second script should work, but I am not sure as I can't check ATM. If you don't get anywhere by the time I am available, I will try and help.
-
I am afraid I possibly won't finish it today. Some RL issues popped up. I will try and write a short referance on how you can do it yourself later. I will try and do it this evening or tomorrow
-
I will try and write the entire code for you today
-
Virgin America VA coming soon!
Sava replied to redwoodvirtual's topic in Virtual Airlines Discussion
Why would they want a US Airways when they joined American? It never gets to me why people keep on starting millions and millions of AAL, SWA,United VAs when there are already more than successful VAs representing them. /random rant -
Virgin America VA coming soon!
Sava replied to redwoodvirtual's topic in Virtual Airlines Discussion
This guy again. Oh my. -
Air Serbia is proud to announce the further expansion of our operations. We have just dry leased two Fokker F-100 jets for an undisclosed period of time. We are planning these jets, now registered YU-AAS and YU-AAT, to fly on short to medium haul routes across the Mediterranean to relieve the Boeing fleet. Two more Fokker F-100 jets will also be joining the Air Serbia fleet some time during May, and are most likely to operate from Tivat (TIV) airport. As a side note, our only transcontinental jet, the B767-300ER YU-ACA, named Serbia, is now re-registered as YU-AAZ. For and on behalf of Air Serbia, Sava Markovic Acting Chief Executive Officer
-
Virgin America VA coming soon!
Sava replied to redwoodvirtual's topic in Virtual Airlines Discussion
Finally. -
It is and always will be. I had that in my mind since the start and wont't give it up. Thanks for the kind words.