code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| <?php require_once($_SERVER['DOCUMENT_ROOT']."/top.php"); ?>
<?php
$encrypted_password = sha1($signup_user_password); $encrypted_password_check = sha1($signup_user_password_check);
$sql = "insert into signup_info (username, id, pw, pw_ck) values ('$signup_username', '$signup_user_id', '$encrypted_password', '$encrypted_password_check')";
$query_result = $mysqli->query($sql);
$mysqli->close();
header("Location: ".$url['root']."/signup_done.php"); exit(); ?>
|
Author:
Slay
Permalink:
http://sean-baek.github.io/2022/08/27/2022-08-27-web-dev-signup-process-php/
License:
Copyright (c) 2021 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?