General developer forum

Adding "sign up user" in alternate log in page

Picture of Mridul Banik
Re: Adding "sign up user" in alternate log in page



<!DOCTYPE html>



<form action="http:............/login/index.php">

  <div class="container">

<input type="text" name="username" id="username" class="form-control" value="" placeholder="Username">

<input type="password" name="password" id="password" value="" class="form-control" placeholder="Password">

    <button type="submit">Login</button>




this is a simple login form, working as a landing page when a user inserts username, password the authentication process done by login/index.php. Now, this form only contains log in option, no sign-up option. If I have a signup button, Is it enough to redirect it login/signup.php for executing sign up procedure?

Average of ratings: -