Guest User

Untitled

a guest
Oct 23rd, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2.   session_start();
  3.  
  4.   if(isset($_POST["cap"])){
  5.      if($_SESSION["answer"] == $_POST["cap"]){
  6.         echo "yay";
  7.      } else {
  8.        echo $_SESSION["answer"];
  9.      }
  10.   }
  11.  
  12. ?>
Add Comment
Please, Sign In to add comment