 |
|
รบกวนช่วยดูให้หน่อยนะค่ะ ว่าควรจะไปแก้ตรงส่วนไหน
Code (PHP)
<html>
<body>
<?php
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
{
//send email
$email = $_REQUEST['email'] ;
$Name = $_REQUEST['Name'] ;
$message = $_REQUEST['message'] ;
mail("[email protected]", $subject, $message, "From:" . $email);
echo "Thank you for using our mail form";
}
else
//if "email" is not filled out, display the form
{
echo "<form method='post' action='mailform.php'>
Email: <input name='email' type='text'><br>
Name: <input name='Name' type='text'><br>
Message:<br>
<textarea name='message' rows='15' cols='40'>
</textarea><br>
<input type='submit'>
</form>";
}
?>
</body>
</html>
พอกด 'ส่ง' ก็เจอ
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

ขอบคุณมากค่ะ
Tag : PHP, HTML/CSS, CakePHP, WebService, Windows, Web Service
|
|
 |
 |
 |
 |
Date :
2013-03-22 15:26:45 |
By :
Mr.Ke |
View :
910 |
Reply :
4 |
|
 |
 |
 |
 |
|
|
|
 |