i know that it is a A small mistake but i cand find it
can you help me to find it ?
this is the script
<div class="msg-s">
<?php
$message_sent=false;
if(isset($_POST['act']) && $_POST['act']=='send') {
$headers = 'From: sales@rr.com' . "\r\n" .
'Reply-To: sales@rr.com' . "\r\n";
$nowdate= date('d/n/Y');
$message = "
[ $sub ]
=====================================================
===== Name : {$_POST['name']}
===== Email : {$_POST['mail']}
===== Mobile : {$_POST['phone']}
=====================================================
{$_POST['msg']}
=====================================================
[ $nowdate ]
=====================================================
{$_POST['mail']} From Site : {$_SERVER['HTTP_HOST']}
";
$message_sent=@mail('hhhhh@yahoo.com','Contact us form',$message,$headers);
}
?>
<div class="inputtt">
<?php if($message_sent) :?>
<div class="done">تم الارسال</div>
<?php endIf?>
<form action="" method="post" name="formcheck" onsubmit="return formCheck(this);">
<div style="background-image:url('images/button.png');width:212px;height:40px;">
<input type="text" style="border:thin white none;font-family:Tahoma;
background:transparent;
font-size:11px;color:#105872;position:absolute;width:150px;
margin-left: 30px; margin-right: 6px; margin-top: 4px;
text-align:right;" name="username"
value="الاسم الثلاثى" onfocus="if(this.value == 'الاسم الثلاثى') {this.value = '';}"
onblur="if (this.value == '') {this.value = 'الاسم الثلاثى';}">
</div>
<div style="background-image:url('images/button.png');width:212px;height:40px;">
<input type="text" style="border:thin white none;font-family:Tahoma;
background:transparent;
font-size:11px;color:#105872;position:absolute;width:150px;
margin-left: 30px; margin-right: 6px; margin-top: 4px;
text-align:right;" name="username"
value="البريد الإلكتروني" onfocus="if(this.value == 'البريد الإلكتروني') {this.value = '';}"
onblur="if (this.value == '') {this.value = 'البريد الإلكتروني';}"></div>
<div style="background-image:url('images/button.png');width:212px;height:40px;">
<input type="text" style="border:thin white none;font-family:Tahoma;
background:transparent;
font-size:11px;color:#105872;position:absolute;width:150px;
margin-left: 30px; margin-right: 6px; margin-top: 4px;
text-align:right;" name="username"
value="اهمية الرسالة" onfocus="if(this.value == 'البريد الإلكتروني') {this.value = '';}"
onblur="if (this.value == '') {this.value = 'البريد الإلكتروني';}"></div>
<div style="background-image:url('images/buttonmsg.png');width:212px;height:153px;">
<input type="text" style="border:thin white none;font-family:Tahoma;
background:transparent;
height: 120px;
font-size:11px;color:#105872;position:absolute;width:180px;
margin-left: 30px; margin-right: 6px; margin-top: 4px;
text-align:right;" name="username"
value="محتوى الرسالة" onfocus="if(this.value == 'محتوى الرسالة') {this.value = '';}"
onblur="if (this.value == '') {this.value = 'محتوى الرسالة';}"></div>
<input name="Submit1" type="submit" value=" " style="cursor: pointer;"/>
<input name="act" type="hidden" value="send" />
</div>
This post has been edited by Dormilich: 22 February 2013 - 02:37 AM
Reason for edit:: please use [code] [/code] tags when posting code

New Topic/Question
Reply



MultiQuote






|