Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- *
- *
- * PERMISSION OF THE REGISTRATER:
- * 'user'
- *
- *
- *
- *
- *
- */
- $jog = "User";
- //sql connect:
- include "sql/config.php";
- /*
- * Getting the variables_:
- */
- $username = $_POST['felhasznalonev'];
- $password = $_POST['password'];
- $email = $_POST['email'];
- $password = ($_POST['password']);
- $hash = hash("haval128,4", $_POST['password']);
- $insert = 'INSERT into users(email,password,jog) VALUES("'.$email.'","'.$hash.'","'.$jog.'")';
- $sql->query($insert);
- header("Location: rendelve.php");
- exit;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement