-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset.php
More file actions
27 lines (24 loc) · 841 Bytes
/
reset.php
File metadata and controls
27 lines (24 loc) · 841 Bytes
1
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>AUTO_INCREMENT Page</title> <script> alert("성공적으로 설정 되었습니다."); history.back();</script></head><body><?php session_start();if ($_SESSION['name'] != '안정현') { echo "<meta http-equiv='refresh' content='0;url=/index'>"; exit;}$servername = "localhost";$username = "stealth";$password = "dimigo123";$dbname = "st_user";// Create connection$conn = new mysqli($servername, $username, $password, $dbname);$sql1 = "ALTER TABLE member AUTO_INCREMENT=1;";$result1 = mysqli_query($conn, $sql1); ?></body></html>