推 pizfinfin:感激不盡..我會再努力try它.. 03/22 16:54
※ 引述《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