תוכלו לראות אותו על-ידי לחיצה http://www.benjo.co.il/form
בכל מקרה עשיתי בול כמו שהוסבר לי בטוטוריאל
אפילו בחרתי בטופס את הקובץ שהוא אמור למשוך ממנו תסקריפט שנמצא לידו בשרת. contectform.php
Method POST
אבל אולי בכל זאת לא רשמתי תקוד טוב אם מישהו יכול לעזור ?
זה הקוד
קוד: בחר הכל
<?php
$emailSubject = 'crazy php scripting';
$webMaster = '[email protected]';
$emailField $_POST['email'];
$nameField $_POST['name'];
$phoneField $_POST['phone'];
$adresField $_POST['adres'];
$dugmaField $_POST['dugma'];
$sizeField $_POST['size'];
$updatesField $_POST['updates'];
$cometsField $_POST['comets'];
$body = <<<EOD
<br><hr><br>
Email: $email <br>
Name: $name <br>
Phone Number: $phone <br>
address: $adres <br>
Dugma: $dugma <br>
Size: $size <br>
Updates: $updates <br>
Commets: $comets <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
$theResults = <<<EOD
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
color: #666666;
font-weight: bold;
}
body {
background-color: #00CCFF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body>
<table width="400" height="342" border="0" align="center" cellpadding="6" cellspacing="0" dir="rtl">
<tr>
<td><table width="400" border="0" align="center" cellpadding="6" cellspacing="0">
<tr>
<td><div align="center">thanks i wiill returen to you soon</div></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
EOD;
echo "$theResults";
?>