Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. $fd =fopen("database.php","w");
  2.  
  3. fwrite($fd, "$dbhost='localhost';
  4. $dbuser='$user';
  5. $dbpass='$pass';
  6. $dbname='$email';
  7.  
  8. $dbh = new PDO('mysql:host=localhost;dbname=$email', $dbuser, $dbpass);");
  9.  
  10. fclose($fd);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement