Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><body>
- <pre>
- <?php print(htmlspecialchars(print_r($_POST,1))); ?>
- </pre>
- <form method="POST" >
- <p><input type="text" name="text" value="<?php if(isset($_POST['text'])) print(htmlspecialchars($_POST['text'])); ?>">
- <p><input type="submit" value="Submit form with POST">
- <p><input type="button" value="window.location.href = window.location.href" onclick="window.location.href = window.location.href">
- <p><input type="button" value="window.location = window.location.href" onclick="window.location = window.location.href">
- <p><input type="button" value="reload()" onclick="window.location.reload()">
- <p><input type="button" value="reload(false)" onclick="window.location.reload(false)">
- <p><input type="button" value="reload(true)" onclick="window.location.reload(true)">
- </form>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment