kodunu aşağıdaki gibi aynen değiştirip denemem.php oalrak kaydedip denermisin .. istediğin şekilde çalışacaktır .
-----------------
<?
function uyari ($msj){
print '
<script language="JavaScript">
alert("$msj")
</script>';
}
if ($gonder == 1)
{
if( !isset($_POST[ad]) {
uyari("ad alanı boş");
} else {
foreach( $HTTP_GET_VARS as $anahtar=>$deger)
{
print "$anahtar = <b>$deger</b><br>\n";
}
}
}
?>
<html>
<head><title>deneme</title>
<meta http-equiv="Content-Type" content"text/html;
charset=iso=8859-">
<head>
<body>
<form action="denemem.php" method="post">
<input type="text" name="ad"><br>
<input type="hidden" value="1" name='gonder'>
<input type="submit" value="bul">
</form>
</body>
</html>