Advertisement
_MIMBOL_

Untitled

Oct 14th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <?php
  2. include 'db/function.php';
  3. function email2($email){
  4. $name = 'mim.bol@mail.ru';
  5. $time1 = time();
  6. $hash1 = md5('ssddd');
  7. query('INSERT INTO `get_pass` (`username`, `email`, `hash1`, `time1`) VALUES (:name , :email , :hash , :time);', [
  8. 'name' => $name,
  9. 'email' => $email,
  10. 'hash' => $hash1,
  11. 'time' => $time1
  12. ]);
  13. }
  14. email2('mim.bol@mail.ru');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement