Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include 'dbconnect.php';
- $username = strip_tags($_POST['username']);
- $password = md5(strip_tags($_POST['password']));
- $email = strip_tags($_POST['email']);
- $bd = $_POST['birthday'];
- if (isset($_POST["register"])) {
- $dbCon->query("INSERT INTO co(username, password, email, birthday) Values('{$username}','{$password}','{$email}','{$bd}')");
- header('Location: http://mworld.pe.hu/success.php'); }
- ?>
- <html>
- <body background="https://i.imgsafe.org/db6c0e0296.jpg">
- <title> join us </title>
- <head>
- <br /><br /><br /><br /><br /><br /><br /><br />
- <center>
- <font size=7 face="alef" color=white>
-
- <br />
- <form method="post">
- Full name:<input type="text" name="name" required='required'>
- <br />
- Password:<input type="password" name="password" required='required'>
- <br />
- Email:<input type="text" name="email" required='required'>
- <br />
- Birthday:<input type="date" name="birthday" required='required'>
- <br /></p>
- <button type="post" name="register" style="background-color: #4CAF50; /* darkred */
- border: none;
- color: white;
- padding: 9px 15px;
- text-align: center;
- text-decoration: none;
- display: inline-block;
- font-size: 20px;
- ">Register</button>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement