File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/APPS/demo/signup.php
Back
<html> <head> <title> Signup </title> <?php if(isset($_GET['uname'])) { $uname = $_GET['uname']; $email = $_GET['email']; $pwd = $_GET['pwd']; $conn = new mysqli("localhost", "root", "", "db-2"); $sql = "INSERT INTO `user` (`id`, `username`,`email`, `pwd`) VALUES (NULL, '$uname','$email', '$pwd');"; $conn->query($sql); header("Location: login.php"); } ?> </head> <body> <form> Enter Username: <input type="text" name="uname" required> <br><br> Enter Email: <input type="email" name="email" required> <br><br> Enter Password: <input type="password" name="pwd" required> <br><br> <input type="submit" value="Signup"> </form> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings