Имале точен код за такава фенкция само , че без да може да се изпращат файлове?http://www.tunning-bg-mafia.com/contact.html
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<!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=windows-1251" />
<title>Untitled Document</title>
<style type="text/css">
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #009900;
font-weight: bold;
font-style: italic;
}
body {background-color: #CCCCCC;}
a {font-size: 14px; color: #000000;}
a:visited {color: #000000;}
a:hover {color: #333333;}
a:active {color: #000000;}
</style>
</head>
<body>
<form method="post" action="sended.php">
<table width="200" border="0" align="center">
<tr>
<td>Името ви </td>
</tr>
<tr>
<td>
<input type="text" name="name" /> </td>
</tr>
<tr>
<td>E-mail</td>
</tr>
<tr>
<td>
<input type="text" name="mail" /></td>
</tr>
<tr>
<td>Вид съобщение:</td>
</tr>
<tr>
<td><textarea name="text"></textarea></td>
</tr>
<tr>
<td><input name="send" type="submit" /></td>
</tr>
</table>
</form>
</body>
</html>
<?php
$name = $_POST['name'];
$mail = $_POST['mail'];
$text = $_POST['text'];
$vuvejdane = 'ot '.$name.'<br>s email '.$mail.'i sydyrjanie <br>'.$text.'<hr>';
$fp = fopen ( "DB.html" ,"a");
fwrite($fp, $vuvejdane );
fclose($fp);
?>