Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

LJ asked in 電腦與網際網路程式設計 · 1 decade ago

php程式問題..

我是PHP程式初學者...

有個問題一直無法解決...如下...

(有二支程式,一支是表單網頁,一支是mail發信程式..

在表單網頁下,輸入E-mail帳號,按送出後...

可以修改mail程式裡的收件人帳號...)

我 try了很久,還是無法試出來,好煩惱哩...><

Update:

丫強大大..程式內容如下:

表單程式:

".$s1.("");

?>

------按表單送出,可以改mail程式裡的mail add

Update 2:

表單程式

".$s1.("");

?>

異常通知信箱:

Update 3:

丫強大大..

可以給我你的mail嗎?

我用寄的好了..

因為補充內容都會不見...><

補充內容好像要純文字..

一些程式碼會不見...

2 Answers

Rating
  • 1 decade ago
    Favorite Answer

    能po出你得兩支程式嗎??這樣才能知道你哪裡寫錯!!

    2008-08-11 18:34:47 補充:

    bb74102@yahoo.com.tw

    2008-08-11 21:04:48 補充:

    如果你在mail4裡面把收件人Email改成下面這行,還有你的form的action應該要寫mail4.php怎麼是寫送到post.php同一頁??

    if(empty($text1))

    //收件人Email

    $mail->AddAddress("user@gmail.com");

    else

    $mail->AddAddress("$text1");

  • 1 decade ago

    ㄚ強 大~同樣問題大家一直問~

    你乾脆弄個Template 貼一貼~

Still have questions? Get your answers by asking now.