- تاریخ عضویت
- 19 اکتبر 2003
- نوشتهها
- 2,082
- لایکها
- 11
كسي از بچه ها Order Form سراغ نداره؟
تورو خدا كمككككككككككككك
ممنون
يا حق
تورو خدا كمككككككككككككك
ممنون
يا حق
به نقل از amir :بگو چي مي خواي! برات مي نويسمش ، البته بعد از شنبه! چون امتحان دارم شنبه! البته فكر كنم تا همون شنبه طول بكشه تا بخواي صورت مساله رو برام تعريف كني.
به نقل از amir :سلام!
ببين يه صفحه HTML درست كن با اين فيلد هايي كه اون بالا گفتي ( يا اگه بلد نيستي خودم برات درست مي كنم ولي خوب شكل و قيافش بي ريخت مي شه! سليقه ندارم من! ) و بعدش برام اون صفحه رو ميل كن. ايميلي رو هم كه مي خواي بهش اطلاعات فرم فرستاده بشه بگو.
بعدش وقتي نمي گيره كارت! غمت نباشه.
ايميل من هم اينه!
joblack33 {at} yahoo { dot} com
والا من كه از php چيزي سر در نميارم!به نقل از tsotodeh :آقا چي شد پس؟
<?php
$youremail = "[email protected]";
$name = $_POST['name'];
$email = $_POST['email'];
$from = $_POST['orderfrom'];
$tel = $_POST['phone'];
$city = $_POST['city'];
$comm = $_POST['comments'];
$mess = "Hello Your Name here
This is an order from $name, who can be contacted at $email.
$name would like to order from $from. $name's telephone number
is $tel and (s)he lives in $city. $name has the following
comments:
\n
$comm
\n
This is an automatically generated order message.
";
mail($youremail, "Order form", $mess, "From: $email");
?>
خواهش دارمبه نقل از tsotodeh :آقا شرمنده من يه مدت با Register شدن تو اون سايت مشگل داشتم
الان سر زدم
شرمنده
و فوق العاده تشكر
اگه آقا امير وقت نكرد مشخصات رو براي من بفرست برات درستش كنم !(يه نمونه صفحه اچ تي امل ال بفرستي خيلي خوب ميشه)به نقل از tsotodeh :آقا شرمنده من يه مدت با Register شدن تو اون سايت مشگل داشتم
الان سر زدم
شرمنده
و فوق العاده تشكر
اينم چيز تميزيه !به نقل از anathema :والا من كه از php چيزي سر در نميارم!
ولي خوب مگه اينو نديدي شما؟![]()
کد:<?php $youremail = "[email protected]"; $name = $_POST['name']; $email = $_POST['email']; $from = $_POST['orderfrom']; $tel = $_POST['phone']; $city = $_POST['city']; $comm = $_POST['comments']; $mess = "Hello Your Name here This is an order from $name, who can be contacted at $email. $name would like to order from $from. $name's telephone number is $tel and (s)he lives in $city. $name has the following comments: \n $comm \n This is an automatically generated order message. "; mail($youremail, "Order form", $mess, "From: $email"); ?>
به نقل از ali :درسته !
<div id="Layer1" style="position:absolute; left:21%; top:17%; width:44%; height:20%; z-index:1" class="fontforfasite"><br>
<TABLE width=500 border=0 cellPadding=0 cellSpacing=20 class="fontforfasite">
<TBODY>
<TR>
<TD vAlign=top align=middle width=110> <BR>
<img src="http://forum.persiantools.com/images/or3.gif" alt="عکس" width="113" height="95"><BR>
<br>
<img src="http://forum.persiantools.com/images/or4.gif" alt="عکس" width="113" height="95"><BR>
<BR>
<img src="http://forum.persiantools.com/images/or2.gif" alt="عکس" width="113" height="95"><BR>
<br>
<img src="http://forum.persiantools.com/images/spacer.gif" width="107" height="1"><BR>
</TD>
<TD vAlign=top dir="ltr" align="right">
<!-- START CONTACT TEXT -->
<table cellspacing="0" cellpadding="0" width="390" border="0" style="border-collapse: collapse" bordercolor="#111111" align="center">
<tr valign="top">
<td height="100%">
<div align="right"><span class="title">فرم سفارش </span></div>
<div align="right" class="fontforfasite">...,شما می توانید بوسیله این فرم به ما ایمیل بزنید </div>
<form action="orderfa.php" method="post">
<table width="372" border="0" cellspacing="0" cellpadding="4" align="center" dir="rtl">
<tr>
<td width="92" valign="top">
<div align="right" class="blo_font">نام: </div></td>
<td width="133" valign="top"><span class="blo_font">
<input name="name" class="input_shadow" id="name" dir="rtl" value="" size="25" onkeypress=FKeyPress() onkeydown=FKeyDown()></span></td>
<tr>
<td valign="top">
<div align="right" class="blo_font">آدرس ایمیل شما:</div></td>
<td valign="top"><span class="blo_font">
<input name="email" class="input_shadow" id="email" dir="ltr" size="25">
</span></td>
<tr>
<td valign="top">
<div align="right" class="blo_font">سفارش از طرف:</div></td>
<td valign="top"><span class="blo_font">
<select name="from" class="input_shadow" id="orderfrom">
<option selected dir="rtl"> -انتخاب--------- </option>
<option dir="rtl"> شخص</option>
<option dir="rtl"> شرکت</option>
</select>
</span></td>
<tr>
<td valign="top">
<div align="right" class="blo_font">شماره تماس :</div></td>
<td valign="top"><span class="blo_font">
<input name="tel" class="input_shadow" id="phone" dir="rtl" size="25" onkeypress=FKeyPress() onkeydown=FKeyDown()>
</span></td>
<tr>
<td valign="top">
<div align="right" class="blo_font">محل سکونت :</div></td>
<td valign="top"><span class="blo_font">
<input name="city" class="input_shadow" id="city" dir="rtl" size="25" onkeypress=FKeyPress() onkeydown=FKeyDown()>
</span></td>
</tr>
<tr>
<td colspan="2" valign="top" dir="ltr">
<div align="right"><span class="blo_font"> :متن سفارش</span> </div>
<div align="left" dir="rtl">
<textarea name="comm" cols=42 rows=10 wrap=soft class="input_shadow_forcommnet" id="commnets" dir="rtl" onkeypress=FKeyPress() onkeydown=FKeyDown()></textarea>
</div></td>
<td width="123" valign="top"> </td>
</tr>
<tr>
<td colspan="2" dir="ltr">
<div align="center"><img src="http://forum.persiantools.com/images/button_left.jpg" width="3" height="24" style="vertical-align: bottom;"><input name="Reset" type="reset" class="formbutton_shadow" value="پاک" style="width: 50px; text-align: center;">
<img src="http://forum.persiantools.com/images/button_left.jpg" width="3" height="24" style="vertical-align: bottom;"><input name="Submit" type="submit" class="formbutton_shadow" value="ارسال فرم »» " style="width: 120px; text-align: center; direction:rtl">
</div></td>
<td width="123" dir="ltr">
</td>
</tr>
</table>
</form></td>
<?php
$youremail = "";
$headers .= "Content-Type: text/html; charset=UTF-8\n";
$name = $_POST['name'];
$email = $_POST['email'];
$from = $_POST['orderfrom'];
$tel = $_POST['phone'];
$city = $_POST['city'];
$comm = $_POST['comments'];
$mess = "ORDER FORM
This is an order from $name , who can be contacted at $email.
$name would like to order from $from .
$name's telephone number is $tel .
and (s)he Live in $city .
$name has the following comments:
$comm
This is an automatically generated order message.
";
mail($youremail, "Order form", $mess, "From: $email");
?>
به نقل از knowhow :خوب ببين مشكل اينجاست كه توي فرومت اسم فرم order هست from ولی توی اونجا که ایمیل می زنه هست
$from = $_POST['orderfrom'];
بعدش من تلفن و کامنت رو توی فرمت نمی بینم !