Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "pages/EXTRA.php";
- if ((isset($_COOKIE['id'])) && (isset($_COOKIE['hash']))){
- if ((!empty($_COOKIE['id'])) && (!empty($_COOKIE['hash']))){
- $hash = R::findOne('SELECT hash FROM user WHERE email="'.$_COOKIE['id'].'"');
- echo $hash;
- }else{
- echo "кук пуста";
- }
- }else{
- echo "кук нет";
- }
Add Comment
Please, Sign In to add comment