5. soru PHP için cevap:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>post.php</title>
</head>
<body>
<?php
$isim = $_POST['isim'];
$dept = $_POST['dept'];
$tel = $_POST['tel'];
$maas = $_POST['maas'];
$output = fopen('output.txt','w+');
fwrite($output,$isim);
fwrite($output,$dept);
fwrite($output,$tel);
fwrite($output,$maas);
fclose($output);
?>
</body>
</html>
Those were the days guys, those were the days...
|