fork download
  1. <?php
  2.  
  3. if(count($_POST)>0 && $captcha == true) {
  4. $username = mysqli_real_escape_string($con, $_POST["username"]);
  5. $password = mysqli_real_escape_string($con, $_POST["password"]);
  6. $username = htmlentities($username);
  7. $password = htmlentities($password);
  8. $save_passw = sha1($password);
  9.  
  10. $stmt = $con->prepare("SELECT * FROM users WHERE username = ? AND password='$save_passw' AND active='1'");
  11. $stmt->bind_param("ss", $username, $password);
  12. $stmt->execute();
  13. $stmt->store_result();
  14.  
  15. $stmt->bind_result($username, $password);
  16. $stmt->fetch();
Runtime error #stdin #stdout #stderr 0s 83264KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Parse error:  syntax error, unexpected end of file in /home/dqrFHk/prog.php on line 16