fork download
  1. <?php
  2. if(isset($_POST['testName']))
  3. echo "You entered : ".$_POST['testName'];
  4.  
  5. ?>
  6.  
  7. <form action="" method="POST">
  8. <input name="testName" type="text"/>
  9. <button>Submit</button>
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
    <form action="">
    <input name="testName" type="text" value="" />
    <button>Submit</button>
// your code goes here