



skrypt.php
Kod
<?
$wejscie = $_GET['wejscie'];
if ($wejscie == 472885853) {
echo '<a href=pusta.html> otwórz ten link </a>';
} else {
echo 'napisałaś tu ' . '<b>' . $_GET['wejscie'] . '</b>' . ".... to nie jest odpowiedni kod ";
}
?>
<div>
$wejscie = $_GET['wejscie'];
if ($wejscie == 472885853) {
echo '<a href=pusta.html> otwórz ten link </a>';
} else {
echo 'napisałaś tu ' . '<b>' . $_GET['wejscie'] . '</b>' . ".... to nie jest odpowiedni kod ";
}
?>
<div>
index.html :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#000000"> <center> <form method="GET" action="skrypt.php" > <input type="text" name="wejscie" size="25px" > <input type="submit" value="OK"> </form> </center> </body> </html>