Reply to this topicStart new topicStart Poll

> [php急問]按button後行php的mail() function
小巫師
發表於: Dec 20 2010, 06:56  
Quote Post


三品官
**********

發表數: 1,544
所屬群組: 一般
註冊日期: 9-18-2003

活躍:10
聲望:206


比如在page.php有一個button,我想令有人按它後會行mail(),請問要如何做?謝謝。
PMEmail Poster
Top
耒戈氏
發表於: Dec 20 2010, 07:43  評價+1
Quote Post


反潮流才是王道!!
************

發表數: 6,255
所屬群組: 太守
註冊日期: 7-15-2007

活躍:23
聲望:1540


mail()是php function?
那應該要把mail()放在另一頁面,然後按鈕後去那頁面吧...
PM
Top
徐元直
發表於: Dec 20 2010, 09:29  評價+1
Quote Post


攤抖首領
************

發表數: 7,909
所屬群組: 君主
註冊日期: 9-18-2003

活躍:66
聲望:4175


你是說不懂把一個頁面的資料用form傳給第二個頁面,還是說不懂在第二個頁面使用mail()把資料寄出去?

這兩者在手冊上都有說明:
http://php.net/manual/en/language.variables.external.php
http://php.net/manual/en/function.mail.php


--------------------
......
PMEmail Poster
Top
0 位使用者正在閱讀本主題 (0 位訪客及 0 位匿名使用者)
0 位會員:

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0123 ]   [ 13 queries used ]   [ GZIP 啟用 ]