Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html lang="pl">
- <head>
- <meta charset="utf-8">
- </head>
- <body>
- <?php
- require_once "connect.php";
- $connect1 = @new mysqli_connect($host, $dbuser, $dbpass, $dbname);
- if ($connect1->connect_errno!=0) {
- echo "Error: ".$connect1->connect_errno;
- }
- else {
- $login = $_POST['login'];
- $pass = $_POST['pass'];
- echo "It works!";
- $connect1->close();
- }
- ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment