[+] EDITØR MODE [+]
htdocs
>
web
>
admin.php
Edit File: admin.php
<!DOCTYPE html> <html> <head> <!-- ------------------------------------------------META------------------------------------------------ --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="cache-control" content="max-age=0"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT"> <meta http-equiv="pragma" content="no-cache"> <meta charset="UTF-8"> <title>Fontana Architetti - Log in</title> <link rel="stylesheet" href="css/style.css" media="screen" type="text/css" /> </head> <body> <div id="login"> <h1>Fontana Architetti - Log in</h1> <form name="form1" method="post" action="PHP_script/checklogin.php" > <input name="username" type="text" id="username" placeholder="user"/> <input name="password" type="password" id="password" placeholder="password" /> <input type="submit" name="submit" value="Login" /> </form> </div> <div id="error"> <?php if($_GET["log"] === "error") echo "<h1>username e/o password sbagliati</h1>"; ?> </div> </body> </html>
Method:
fopen()
file_put_contents()
stream_context_create()
Simpan
Rename:
Rename