SHARE
TWEET

Untitled

a guest May 31st, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //So gehts:
  2. require_once("D:\_config\page_mysql.php");
  3. $link = mysqli_connect($forum_db_host, $forum_db_user, $forum_db_pass, $forum_db_name);
  4.  
  5.          //Mysql I -escape strings!
  6.      $username = mysqli_real_escape_string($link,request_var('username', '', true));
  7.      $password = mysqli_real_escape_string($link,request_var('password', '', true));
  8.      $autologin = mysqli_real_escape_string($link,request_var('autologin', '', true));
  9.  
  10.  
  11. //Orginal wie es vorher ging:
  12.      $username = mysql_real_escape_string(request_var('username', '', true));
  13.      $password = mysql_real_escape_string(request_var('password', '', true));
  14.      $autologin = mysql_real_escape_string(request_var('autologin', '', true));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top