Adding "sign up user" in alternate log in page

Re: Adding "sign up user" in alternate log in page

by Mridul Banik -
Number of replies: 0

<?php

?>

<!DOCTYPE html>

<html>

<body>

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

  </div>

</form>

</html>


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?