Advertisement
Guest User

Cookie_Storing

a guest
Apr 9th, 2020
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.38 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <meta charset="UTF-8">
  3. <html>
  4. <h1>Welcome to hell ps this is just temp</h1>
  5. <body>
  6.  
  7. <?php
  8.  
  9. setcookie("OCTF{Your_Reading_Cookies}", "OCTF";
  10.  
  11.  
  12. <?php
  13.  
  14. if(isset($_COOKIE["OCTF"])){
  15.    echo " OCTF{Your_Reading_Cookies} " . $_COOKIE["OCTF"];
  16. } else{
  17.    echo "This is a error please report so we can fix.";
  18. }
  19.  
  20. ?>
  21.  
  22.  
  23. ?>
  24.  
  25. </body>
  26. </<html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement