Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo (isset($_POST['password']))?((($con = new mysqli("localhost", "root", "123123123","ragnar"))?(($r=$con->query("SELECT * FROM users where id=1 and password='".md5($_POST['password'])."'"))?(($r->num_rows)?"welcome":"error"):""):"")):"<html><head><title>Logon</title></head><body>Please Enter the password<br><form method='post'><input name='password' type'password'/><input type='submit' value='login'/><form/></body></html>"
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement