diff options
author | Kyle Kaminski <kyle@kkaminsk.com> | 2013-06-16 03:25:26 -0500 |
---|---|---|
committer | Kyle Kaminski <kyle@kkaminsk.com> | 2013-06-16 03:25:26 -0500 |
commit | 1bad4fc00814e2c03ecadaa7faf93c6372f5bd30 (patch) | |
tree | 88104590feefcb804f5fa0ca57ee1a6c76cbf0a7 /forms.php | |
download | phpsandbox-1bad4fc00814e2c03ecadaa7faf93c6372f5bd30.tar.gz phpsandbox-1bad4fc00814e2c03ecadaa7faf93c6372f5bd30.tar.bz2 phpsandbox-1bad4fc00814e2c03ecadaa7faf93c6372f5bd30.zip |
initial commit
Diffstat (limited to 'forms.php')
-rw-r--r-- | forms.php | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/forms.php b/forms.php new file mode 100644 index 0000000..1fc9b88 --- /dev/null +++ b/forms.php @@ -0,0 +1,51 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Hacker's Corner</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<h2>In Soviet Russia the server GETs you!</h2>
+
+<form action="process.php" method="post" name="login">
+ User: <input type="text" name="name" value="guest" /><br />
+ Password: <input type="password" name="password" value="evil" /><br />
+ <input type="submit" value="Submit" />
+</form>
+
+<br />
+
+<form action="process.php" method="get" name="userinfo">
+ Name: <input type="text" name="name" value="hax0r" /><br />
+ Password: <input type="text" name="password" value="evil" /><br />
+ E-mail: <input type="text" name="email" value="hax0r@hax.com" /><br />
+ Location: <input type="text" name="location" value="127.0.0.1" /><br />
+ Home Phone: <input type="text" name="home_phone" value="911" /><br />
+ Work Phone: <input type="text" name="work_phone" value="111" /><br />
+ <input type="hidden" name="FormName" value="Record" />
+ <input type="hidden" name="FormAction" value="insert" />
+ <input type="submit" value="Submit" />
+</form>
+
+<br />
+
+<form action="insert.php" method="post">
+ Subject name: <input type="text" name="menu_name" value="" id="menu_name" /><br />
+ Position: <select name="position">
+ <option value="1">1</option> <!-- was really meant to insert at specific place -->
+ <option value="2">2</option> <!-- and push off existing ones by 1 offset -->
+ <option value="3">3</option>
+ </select><br />
+ Visible: <input type="radio" name="visible" value="0" /> No <input type="radio" name="visible" value="1" /> Yes<br />
+ <input type="submit" value="Add Subject" />
+</form>
+
+<p>
+<?php /* on errors the form should submit to itself */
+?>
+</p>
+
+</body>
+</html>
+
|