Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $myFile = "usernames.txt";
- $fh = fopen($myFile, 'w') or die("can't open file");
- $stringData = "Username:" $user "Password:" $pass;
- fwrite($fh, $stringData);
- fclose($fh);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement