эх вот: <html> <head> <link rel="stylesheet" type="text/css" href="css/styles.css"/> <title>Клуб Юннатов</title> </head> <body text="#000000" background="fon.gif"> <img src="images/logo.gif" id="header"> <div class="main"> <img src="images/menu.jpg" usemap="#menu"> <map name="menu"> <area shape="rect" coords="18,27,135,58" href="index.php"> <area shape="rect" coords="188,29,313,59" href="beach3.html"> <area shape="rect" coords="370,29,485,59" href="beach4.html"> <area shape="rect" coords="537,28,655,58" href="beach-f25.html"> <area shape="rect" coords="707,29,829,60" href="http://clubunnatov.forumcity.com"> </map> <?php if(empty($_POST['name'])) { die('Вы не ввели тему'); } if(empty($_POST['body'])) { die('Вы не ввели сообщение'); } $to=$_POST["to"]; $name=$_POST["name"]; $body=$_POST["body"]; function sendmsg($to, $subj, $text) { global $system_env; $header .= "MIME-Version: 1.0n"; $header .= "Content-type: text/html; charset=windows-1251n"; $header .= "From: ".$system_env[you@mail.ru]."n"; $header .= "Content-Transfer-Encoding: quoted-printablenn"; $header .= "$textn"; return mail($to, '=?windows-1251?B?'.base64_encode($subj).'?=', '', $header); } sendmsg(); print "<p>Спасибо за сообщение</p>" ?> </div> </body> </html>