Jump to content

Login via another website


Airport

Recommended Posts

Hi everyone,

I've worked with phpVMS for quite a while now and I'm pretty satisfied, great job!!

Now my customer had page already set up and wanted me to integrate phpVMS.

I have a normal login field (Pilot ID, Password and remember). I got the loginform:

<h1>Login</h1>

<form name="loginform" action="<?php echo url('/login');?>" method="post">

<?php echo "<?xml version='1.0'?>"; ?>

<?php

if(isset($message))

echo '<p class="error">'.$message.'</p>';

?>

<dl>

<dt>E-mail Address:</dt>

<dd><input type="text" name="email" value="" />

<dt>Password:</dt>

<dd><input type="password" name="password" value="" />

<dt></dt>

<dd>Remember Me? <input type="checkbox" name="remember" /></dd>

<dt></dt>

<dd><input type="hidden" name="redir" value="index.php/profile" />

<input type="hidden" name="action" value="login" />

<input type="submit" name="submit" value="Log In" />

<dt></dt>

<dd><a href="<?php echo url('Login/forgotpassword'); ?>">I forgot my password</a></dd>

</dl>

</form>

Whats the best way to combine the two or is there an easy way to use phpVMS and keep the already

existing design without altering it? Any advise or idea would be helpful and appreciated!

Best Regards

Martin

Link to comment
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...