code_8 5 - ping9u25/mailtestproject GitHub Wiki
103~113๋ผ์ธ์ cred_hidden์ด ์ ์์๊น? ์ง์๋ณด๊ธฐ
[login-submit.php]
back page"; exit(); } $mysqli=mysqli_connect("106.10.41.19","root","","mail_db"); //ip, id, pw, db๋ช , port(๊ธฐ๋ณธํฌํธ๊ฐ ์๋๊ฒฝ์ฐ ์ฝ์ ) $singin=mysqli_query($mysqli, "INSERT INTO insertedaccount(id, time) VALUES('$id', '$time')"); If($singin){ echo("<script>location.href='warning.html';</script>"); } ?>[warning.html]
<title> warning page</title>: ์ด๋ถ๋ถ php์ฝ๋์ง๊ธฐ Pwd๋ง ์๋ฐ๊ฒ post๋ด์ ์๋ฃ์ผ๋ฉด ๋ ๋ฏ. class๋ฅผ ํ์ฉํ๋๋ฐ ์์ผ๊น? ์ด๊ฒ ์์ผ๋ฉด ์ด๋ป๊ฒ ๋ ๊น? ์์ธ ๋ด์ฉ ํ์ธ.. email password๋ถ๋ถ์๋ ์๋ค Class๊ฐ ๋๊ฐ์ธ๊ฐ? <input type="password" ๋ถ๋ถ๋ง submit๋ค๋ก ๋ณด๋ผ ์ ์๋์ง ํ์ธ
time php์ฝ๋์ time