Sarcini CGI Form
Sarcini CGI Form
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<h2>PHP Form Validation Example</h2>
<form method="post" action="formexample.php">
Name: <input type="text" name="name">
<br><br>
E-mail: <input type="text" name="email">
<br><br>
Website: <input type="text" name="website">
<br><br>
Comment: <textarea name="comment" rows="5" cols="40"></textarea>
<br><br>
Gender:
<input type="radio" name="gender" value="female">Female
<input type="radio" name="gender" value="male">Male
<br><br>
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>
Var 2.
<html>
<head>
<title>An HTML Form that Calls Itself</title>
</head>
<body>
<div>
<form method="post" action="examplesimple.php">
<p>
Type your guess here: <input type="text" name="guess" />
<input type="submit" name = "submit" value="Check my guess" />
</p>
</form>
</div>
</body>
</html>
Var 4.
<html>
<head>
<title>Personal INFO</title>
</head>
<body>
<form method="post" action="<someexample.php">
First Name:<input type="text" size="12" maxlength="12" name="Fname"><br />
Last Name:<input type="text" size="12" maxlength="36" name="Lname"><br />
Gender:<br />
Male:<input type="radio" value="Male" name="gender"><br />
Female:<input type="radio" value="Female" name="gender"><br />
Please choose type of residence:<br />
Steak:<input type="checkbox" value="Steak" name="food[]"><br />
Pizza:<input type="checkbox" value="Pizza" name="food[]"><br />
Chicken:<input type="checkbox" value="Chicken" name="food[]"><br />
<textarea rows="5" cols="20" name="quote" wrap="physical">Enter your favorite quote!
</textarea><br />
Select a Level of Education:<br />
<select name="education">
<option value="Jr.High">Jr.High</option>
<option value="HighSchool">HighSchool</option>
<option value="College">College</option></select><br />
Select your favorite time of day:<br />
<select name="TofD" size="3">
<option value="Morning">Morning</option>
<option value="Day">Day</option>
<option value="Night">Night</option></select><br />
<input type="submit" value="submit" name="submit">
</form>
Var 7.
<html>
<head>
<title>My Form</title>
</head>
<body>
<form action="bad_words.php" method=post>
My name is:
<br> <input type="text" name="YourName">
My favorite dirty word is:
<br /><input type="text" name="FavoriteWord">
<input type="submit" name="submit" value="That's Right!">
</form>
</body>
</html>
Var 8.
<html>
<head>
<title>Пример </title>
</head>
<body>
<h1 Введите номер карточки </h1>
<form name="form1" action="analysis.php" method="post">
<p>Номер карточки:
<input name="cardnumber" type="text" size="20">
<input name="Verify" type="submit" >
</form>
</body>
</html>
Var 10.
<html>
<head>
<title>Aplicatie formular </title>
</head>
<body style="font-family: verdana,sans-serif; font-size: small;">
<!DOCTYPE html>
<html lang="ro">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<title>Notele grupei IA-123</title>
</head>
<body>
<h2>exemplu de CGI</h2>
<h3>Notele grupei IA-123 la examen intermediar</h3>
<form method="get" action="noteleIA123.php" accept-charset="utf-8">
Introduceţi prenumele: <input type="text" id="txt" name="txt" />
<input type="submit" value="arată notele/оценки" />
</form>
</body>
</html>
Var 12.
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<h2>PHP Form Validation Example</h2>
<form method="post" action="formexample.php">
Name: <input type="text" name="name">
<br><br>
E-mail: <input type="text" name="email">
<br><br>
Website: <input type="text" name="website">
<br><br>
Comment: <textarea name="comment" rows="5" cols="40"></textarea>
<br><br>
Gender:
<input type="radio" name="gender" value="female">Female
<input type="radio" name="gender" value="male">Male
<br><br>
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>
Var 13.
<html>
<head>
<title>An HTML Form that Calls Itself</title>
</head>
<body>
<div>
<form method="post" action="examplesimple.php">
<p>
Type your guess here: <input type="text" name="guess" />
<input type="submit" name = "submit" value="Check my guess" />
</p>
</form>
</div>
</body>
</html>
Var 15.
<html>
<head>
<title>Personal INFO</title>
</head>
<body>
<form method="post" action="<someexample.php">
First Name:<input type="text" size="12" maxlength="12" name="Fname"><br />
Last Name:<input type="text" size="12" maxlength="36" name="Lname"><br />
Gender:<br />
Male:<input type="radio" value="Male" name="gender"><br />
Female:<input type="radio" value="Female" name="gender"><br />
Please choose type of residence:<br />
Steak:<input type="checkbox" value="Steak" name="food[]"><br />
Pizza:<input type="checkbox" value="Pizza" name="food[]"><br />
Chicken:<input type="checkbox" value="Chicken" name="food[]"><br />
<textarea rows="5" cols="20" name="quote" wrap="physical">Enter your favorite quote!
</textarea><br />
Select a Level of Education:<br />
<select name="education">
<option value="Jr.High">Jr.High</option>
<option value="HighSchool">HighSchool</option>
<option value="College">College</option></select><br />
Select your favorite time of day:<br />
<select name="TofD" size="3">
<option value="Morning">Morning</option>
<option value="Day">Day</option>
<option value="Night">Night</option></select><br />
<input type="submit" value="submit" name="submit">
</form>
Var 18.
<html>
<head>
<title>My Form</title>
</head>
<body>
<form action="bad_words.php" method=post>
My name is:
<br> <input type="text" name="YourName">
My favorite dirty word is:
<br /><input type="text" name="FavoriteWord">
<input type="submit" name="submit" value="That's Right!">
</form>
</body>
</html>
Var 19.
<html>
<head>
<title>Пример </title>
</head>
<body>
<h1 Введите номер карточки </h1>
<form name="form1" action="analysis.php" method="post">
<p>Номер карточки:
<input name="cardnumber" type="text" size="20">
<input name="Verify" type="submit" >
</form>
</body>
</html>
Var 21.
<html>
<head>
<title>Aplicatie formular </title>
</head>
<body style="font-family: verdana,sans-serif; font-size: small;">
<!DOCTYPE html>
<html lang="ro">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<title>Notele grupei IA-123</title>
</head>
<body>
<h2>exemplu de CGI</h2>
<h3>Notele grupei IA-123 la examen intermediar</h3>
<form method="get" action="noteleIA123.php" accept-charset="utf-8">
Introduceţi prenumele: <input type="text" id="txt" name="txt" />
<input type="submit" value="arată notele/оценки" />
</form>
</body>
</html>
Var 23.
<html>
<head>
<title>Пример </title>
</head>
<body>
<h1 Введите номер карточки </h1>
<form name="form1" action="analysis.php" method="post">
<p>Номер карточки:
<input name="cardnumber" type="text" size="20">
<input name="Verify" type="submit" >
</form>
</body>
</html>
Var 24.
<html>
<head>
<title>Aplicatie formular </title>
</head>
<body style="font-family: verdana,sans-serif; font-size: small;">
<!DOCTYPE html>
<html lang="ro">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<title>Notele grupei IA-123</title>
</head>
<body>
<h2>exemplu de CGI</h2>
<h3>Notele grupei IA-123 la examen intermediar</h3>
<form method="get" action="noteleIA123.php" accept-charset="utf-8">
Introduceţi prenumele: <input type="text" id="txt" name="txt" />
<input type="submit" value="arată notele/оценки" />
</form>
</body>
</html>
Var 26.
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<h2>PHP Form Validation Example</h2>
<form method="post" action="formexample.php">
Name: <input type="text" name="name">
<br><br>
E-mail: <input type="text" name="email">
<br><br>
Website: <input type="text" name="website">
<br><br>
Comment: <textarea name="comment" rows="5" cols="40"></textarea>
<br><br>
Gender:
<input type="radio" name="gender" value="female">Female
<input type="radio" name="gender" value="male">Male
<br><br>
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>
Var 27.
<html>
<head>
<title>An HTML Form that Calls Itself</title>
</head>
<body>
<div>
<form method="post" action="examplesimple.php">
<p>
Type your guess here: <input type="text" name="guess" />
<input type="submit" name = "submit" value="Check my guess" />
</p>
</form>
</div>
</body>
</html>
Var 29.