Parašė bruzgis· 2009 Kov. 30 22:03:34
#2
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1257'>
</head>
<body>
<form action="file:///Z|/home/test1.lt/www/test1.php" method="post">
Ivesk žodi <input type="text" name="name"><br>
<input type="submit" value="Taip!">
</form>
</body>
</HTML>
Paprastas
php
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1257'>
</head>
<body>
<?php
$name = $_GET['name'];
if ($name == "abėcėlė")
{ echo "Teisingai";}
else { echo "Griskš ir ivesk teisinga žodi "; }
?>
</body>
</html>
Redagavo bruzgis· 2009 Kov. 30 22:03:38