Re: [請益] 如何設計啟用mail認證?

看板PHP作者 (薛丁格的貓)時間18年前 (2007/03/21 11:27), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《pizfinfin (卡拉貓)》之銘言: : 請教各位先進 : 如何設計在使用者加入會員後會收到一封mail.. : 然後再點選mail上的連結..達成啟用會員的功能? : 能否給點提示?感激不盡 在 user table 給個 2 tag actived boolean act_code char(64) 1. 申請會員 actived = 0 act_code = md5(user_id . microtime() ); 2. email "act.php?id=". $user_id. "&act=". $act_code 3. act.php 驗正 id & act_code if(true) actived = 1 else actived = 0 -- Exactly. For that one fraction of a second, you were open to options you had never considered. THAT is the exploration that awaits you: not mapping stars and studying nebulae,but charting the unknown possibilities of existence. Star Trek S7E26 "All Good Thing" -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.67.68.236

03/22 16:54, , 1F
感激不盡..我會再努力try它..
03/22 16:54, 1F
文章代碼(AID): #160AODWs (PHP)
討論串 (同標題文章)
文章代碼(AID): #160AODWs (PHP)