completelydeck
-
Posts
9 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by completelydeck
-
-
<form method="post" action="<?php echo SITE_URL?>/index.php/Registration">
-
Nabeel,
I'm sorry to be making so many threads here, but it seems that anyone who uses Internet Explorer on our site has the same bug that I can't figure out. If a user submits a form (say an application) it redirects to the login page, without submitting anything. For Firefox, it just reloads the same page, without submitting anything. I think it's because of this:
Header:
<input type="submit" name="submit" value="Log In" />
Registration page:
<input type="submit" name="submit" value="Register!" />
So, there are two forms with the same values, I think. How would I fix this?
-Josh
-
This worked, thanks Nabeel
-
Nabeel,
Just installed it, still getting the problem.
-Josh
-
Nabeel,
I've had this problem since the installation of phpVMS but am just now getting around to it. This is what shows up when there is a flight on the map:
Any ideas? I'm thinking it might have to do with allow_url_fopen?
Here's a link to it
-Josh
-
Nabeel,
I've tried looking and tried figuring out the API, tried reading PHP tutorials, to no avail. I don't have any idea how to simply pull a logged in user's data onto a webpage. A simple "hello world" would help me. The only thing I've been able to do is recall the pilot's ID by putting:
<?php $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?>
in and then:
<li><b>Your Callsign</b>: <?php echo $pilotid ?></li>
I'm probably going about it all wrong but that works at least. I'm trying to find a way to pull up the total number of hours, latest flight they flew in a short format (such as "Your last flight: TXA1441 - KAUS - KDEN").
Thanks for the help
-
Hey thanks a lot, Nabeel for the quick response.
-
Nabeel, thanks in advance for the great script you have here.
I was wondering how I would go about showing a login form on the main page only when they aren't logged in. If they are logged in, I would like to fill that space with a mini "control panel" type content (such as pilot name, pilot hours, hub, etc.).
How would I go about this?
Registration Form
in Support Forum
Posted
Essentially, this is the problem that I'm having over here. I think it has to do with the fact that I have two "form" tags with the same names.