หน้า 1 จากทั้งหมด 1

ขอสคริบส่งเมลครับ

โพสต์แล้ว: 12 ธ.ค. 2009, 12:29
โดย sazukia007
ตอนนี้กำลังสร้างเว็บ html เล่นๆ แล้วต้องการสร้างฟอร์มส่งเมล
โดยหาฟอร์มมาได้แล้ว คือ
<form method="post" action="yourscript.cgi" style="margin:0; padding:0">
<b>Full Name:</b><br>
<input name="full name" type="text" class="form" id="name">
<br>
<br style="line-height:8px">
<b>E-mail Address:</b><br>
<input name="email" type="text" class="form">
<br>
<br style="line-height:8px">
<b>Telephone:</b><br>
<input name="phone" type="text" class="form">

<br>
<br style="line-height:4px">
<br>

<b>Your Message:</b><br>
<textarea name="message" cols="90" rows="4" class="contactForm"></textarea>
<br><br>
<input name="Submit" type="image" value="Send" style="margin:0" align="top" src="img/send-button.png">
<br>
<br>
</form>
แต่ติดตรง
yourscript.cgi
มันต้องเขียนยังไงครับ ใครมี เอามาแจกทีครับ ทำไม่เป็น *-* :baa:

Re: ขอสคริบส่งเมลครับ

โพสต์แล้ว: 17 มี.ค. 2010, 15:27
โดย dsonline
ใช้ฟังก์ชั่น mail ของ PHP ครับ