Blame view

htdocs/documents/register.php 641 Bytes
c10d2abc   rcavalie   ajout fichiers se...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <?php
  session_start();
  if($_SESSION['name']){
  }else header('Location: index.php');
  ?>
  
  <html>
  
  <form action="registerAction.php" method="post">
   <label><b>Name</b></label>
      <input type="text" placeholder="Enter Name" name="name" required><p>
    <label><b>Username</b></label>
      <input type="text" placeholder="Enter Username" name="username" required><p>
      <label><b>Password</b></label>
      <input type="password" placeholder="Enter Password" name="password"required><p>
    <input type="submit" name="submit" value="Register">
  </form>
  <form action="workArea.php" >
    <input type="submit" name="submit" value="Cancel">
  </form>
  </html>