Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 7th, 2011  |  syntax: PHP  |  size: 0.37 KB  |  views: 97  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php if(strlen(@$_POST['nameoftour'])) { ?>
  2.  
  3.         <p>Posted variable is: <strong><?=$_POST['nameoftour'];?></strong></p>
  4.         <p>Hidden field here: <input type="hidden" name="nameoftour" value="<?=$_POST['nameoftour'];?>"/> (check source)</p>
  5.  
  6. <?php } ?>
  7.  
  8. <form action="" method="post">
  9.         <input type="text" name="nameoftour"/>
  10.         <input type="submit" value="submit"/>
  11. </form>
clone this paste RAW Paste Data