MikFoxi

mysecretcookie2

Mar 9th, 2021
1,607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. <?php
  2. header('X-Robots-Tag: noindex');
  3. header('Content-Type: text/html; charset=UTF-8');
  4. header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
  5. header('Cache-Control: no-store, no-cache, must-revalidate');
  6.  
  7. setcookie('mysecretcookie', '1', time()+864000, '/');
  8. echo 'ok';
  9.  
Advertisement
Add Comment
Please, Sign In to add comment