| 123456789 |
- <?php
- $db = new mysqli('especificosba.com.ar', 'especificosba', 'howdoiturnthison', 'mailing');
- #$stmt=$db->prepare('select sha1(concat(id,floor(UNIX_TIMESTAMP()*rand()),mail)) from mails_datos where mail="tatii.oxo@gmail.com"');
- $stmt=$db->prepare('select hash from mails_datos where mail="tatii.oxo@gmail.com"');
- $stmt->bind_result($hash);
- $stmt->execute();
- $stmt->fetch();
- echo $hash;
- ?>
|