1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2026-01-12 22:51:27 +03:00
Files
postfixadmin/tests/simpletest/test/site/self_form.php
2009-03-15 21:24:56 +00:00

21 lines
662 B
PHP

<?php
if (count($HTTP_GET_VARS) > 0) {
$_GET = $HTTP_GET_VARS;
}
?><html>
<head><title>Test of form self submission</title></head>
<body>
<form>
<input type="hidden" name="secret" value="Wrong form">
</form>
<p>[<?php print $_GET['visible']; ?>]</p>
<p>[<?php print $_GET['secret']; ?>]</p>
<p>[<?php print $_GET['again']; ?>]</p>
<form>
<input type="text" name="visible">
<input type="hidden" name="secret" value="Submitted">
<input type="submit" name="again">
</form>
<!-- Bad form closing tag --></form>
</body>
</html>