Server IP : 172.16.15.8 / Your IP : 18.217.252.194 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/mdwiberg/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php require "CS489header.php"; ?> <center> <main> <h1> Create Profile </h1> <?php if (isset($_GET['error'])) { if ($_GET['error'] == "emptyfields") { echo '<p class="signuperror"> Please fill in all fields.</p>'; } else if ($_GET['error'] == "invalidusername") { echo '<p class="signuperror"> Invalid username.</p>'; } else if ($_GET['error'] == "passwordsmustmatch") { echo '<p class="signuperror"> Passwords do not match.</p>'; } else if ($_GET['error'] == "usernametaken") { echo '<p class="signuperror"> Username is taken.</p>'; } } else if ($_GET["register"] == "sucess") { echo '<p class="signupsuccess"> Profile successfully created!</p>'; } ?> <form action="CS489NewUser2.php" method"post"> <input type="text" name="uid" placeholder="Username..."> <p> <input type="password" name="pid" placeholder="Password..."> <p> <input type="password" name="pid-confirm" placeholder="Re-enter password"> <p> <button type="submit" name="R-submit"> Create Profile </button> </form> </main> </center> <?php require "CS489footer.php"; ?>