處理表單:sendfdbk.php3 <? include("include/common.inc"); $title = "Feedback"; include("include/header.inc"); if ( $name == "" ) { // 現在我很討厭匿名的留言! echo "Duh ? How come you are anonymous?"; } elseif ($name == "Your name") { // 這個瀏覽者真是不想透露姓名?。?br>echo "Hello ? <B>Your name</B> is supposed to be replaced with your actual name!</B>"; } else { // 輸出一段禮貌的感謝語 echo " Hello, $name. <BR> Thank you for your feedback. It is greatly appreciated. <BR> Thanking you <BR> $MyName <BR> $MyEmailLink "; // 最后mail出去 mail($MyEmail, "Feedback."," Name : $name E-mail : $email Comment : $comment "); } include("include/footer.inc"); ?>