SHARE
TWEET

Untitled

a guest Aug 13th, 2017 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <form name="formvideo" action="" method="post">
  2.               Put the URL video here<br>
  3.               <input name="subject" type="text" id="subject" style="width: 800px;" value="">
  4.               <br>
  5.               <input type="submit" value="Submit">
  6.             </form><br>
  7.  
  8.             <?php
  9.             if (isset($_POST["submit"])){
  10.                 $video = $_POST['subject'];
  11.                 if ($video == true){
  12.                     echo "success";
  13.                 } else {
  14.                 echo "fail";
  15.             }
  16.             }
  17.    
  18. <?php
  19.             if (isset( $_POST['subject'])) {
  20.             echo $_POST['subject'];
  21.             }
  22.             ?>
RAW Paste Data
Top