Advertisement
Guest User

Untitled

a guest
Aug 10th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1.     $myFile = "usernames.txt";
  2.     $fh = fopen($myFile, 'w') or die("can't open file");
  3.     $stringData = "Username:" $user "Password:" $pass;
  4.     fwrite($fh, $stringData);
  5.     fclose($fh);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement