This page was GETted.
Random number: 668274721
Value:
GET this page
Source of this test:
<html> <head> <title>POST/GET reload test<? if($_POST["name"]) echo " (POST)"; ?></title> </head> <body> <?php if($_POST["name"]) { echo "This page was POSTed.<br>\n"; echo "Value: "; echo htmlspecialchars(stripslashes($_POST["data"])); echo "<br><br>\n"; } else echo "This page was GETted.<br><br>\n"; echo "Random number: "; echo rand(); echo "<br><br>\n"; ?> <form action="post.php" method="POST"> <input type="hidden" name="name" value="value"> Value: <input type="text" name="data" value="data"><br> <input type="submit" value="POST this page"> </form> <a href="post.php">GET this page</a><br<br> Source of this test:<br> <textarea rows=30 cols=110><?php echo htmlspecialchars(file_get_contents("post.php")); ?></textarea> </body> </html>