国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > PHP > 正文

PHP+jQuery 注冊模塊的改進(二):郵箱激活

2020-03-22 19:18:02
字體:
來源:轉載
供稿:網友
接《PHP+jQuery 注冊模塊的改進之一》繼續修改:①在注冊成功后返回登錄郵件頁面( maillogin.php ),在頁面中用戶可以點擊鏈接跳轉到自己注冊郵箱的登錄頁面,可以再次發送激活鏈接;②給激活鏈接設置有效期,過了有效期點擊激活連接,會跳轉頁面讓用戶選擇再次發送郵件或者返回注冊頁;再次發送郵件后,進郵箱點擊鏈接激活;③點擊重新發送激活連接,不跳轉頁面,在當前頁無刷新彈出通知:已重新發送鏈接,幾秒鐘之后通知消失;④點擊更換收件郵箱,跳轉至注冊頁1.點擊郵箱鏈接跳轉至相應郵箱登陸界面思路:在maillogin.js中( 也可在php中設置 )設置常用郵件地址列表,當用戶的注冊郵箱和列表中的郵箱匹配時,則顯示button"立即登錄驗證郵箱",點擊則跳轉至郵箱的登陸首頁;如果用戶注冊的郵箱在列表中不存在時,則不顯示登陸button。如圖,當郵箱列表中存在注冊郵箱時:當郵箱列表中不存在注冊郵箱時:當傳遞的參數不是有效的郵箱時提示參數錯誤:maillogin.php: !DOCTYPE html html head meta charset="utf-8" title 注冊頁面 /title link href="templets/css/common.css" rel="stylesheet" type="text/css" style #container{ background-color:#fff; width:990px; height:547px; margin-top:50px; margin-bottom:20px; overflow:hidden;#mailChk{ width:530px; margin:100px auto auto auto; position:relative;}.mailfonts{ margin-left:20px;}.mailpic{ float:left;}.mailfonts{ float:left;}.hfonts{ font-size:22px; }.ftit{ position:relative; top:-70px; left:-180px; border-bottom:1px solid #eee; width:870px; padding-bottom:10px; font-size: 20px; font-weight: normal; font-family: "Microsoft YaHei",/5fae/8f6f/96c5/9ed1,arial,/5b8b/4f53; color: #323232;.ftit2{ height:1px; top:50px; left:-180px; .sfonts{ line-height:48px; color:#666;}.orange{ color:#ee8c18;}#maillogin{ display: block; width: 390px; height: 50px; line-height: 50px; border: 0; overflow: hidden; text-align: center; background: #69b3f2; font-family: "Microsoft YaHei",/5fae/8f6f/96c5/9ed1,arial,/5b8b/4f53; font-size: 26px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; margin:100px auto 0 85px; cursor:pointer;#maillogin:hover{ background: #7cbdf5;}#maillogin,#maillogin:hover{ color:#fff;}#maillogin a{ color:#fff;}.notice{ position:relative; bottom:-70px; left:-180px;.notit{ font-size:14px; color:#949494; font-weight:bold; font-family:arial;}.noul{ color:#949494; margin-left:-40px;} /style script src="templets/js/jquery-1.8.3.min.js" /script script src="templets/js/maillogin.js" /script /head body !--頂部長條-- div id="header-nav" div id="header-nav-fonts" span a href="#" Dee's BLOG /a /span span | /span span 注冊 /span span 已有帳號?馬上 a href="#" 登錄 /a /span div /div /div /div !-- 內容區 -- div id="container" div id="mailChk" php if(isset($_GET['m']) && $_GET['m']!=""){ $m = $_GET['m']; }else{ echo " div "hfonts ftit/" 操作有誤, a href=/"templets/register.html/" 請重新注冊 /div exit(); div 郵箱驗證 /div img src="templets/images/mail.jpg" div div 驗證郵件已發出,請48小時內登陸郵箱驗證 /div div 登錄郵箱 a id="mailaddr" php echo $m; /a ,并按郵件提示操作即可 /div /div button type="button" id="maillogin" a href="" 立即登錄郵箱驗證 /a /button div /div div /div div h3 還沒有收到驗證郵件呢? /h3 li 1.嘗試到廣告郵件、垃圾郵件目錄里找找看 /li li 2. a href="#" 再次發送驗證郵件 /a /li li 3.如果重發注冊驗證郵件仍然沒有收到,請更換 a href="#" 另一個郵件地址 /a /li /ul /div /div /div /body /html maillogin.js:當前1/2頁12下一頁閱讀全文PHP教程

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 岫岩| 西和县| 水富县| 迁西县| 本溪市| 呈贡县| 乐东| 德清县| 和田县| 康定县| 藁城市| 灵石县| 光泽县| 随州市| 乐亭县| 梓潼县| 张家界市| 鹤峰县| 沈阳市| 阿巴嘎旗| 广宗县| 湛江市| 南平市| 花莲县| 株洲县| 三江| 清丰县| 称多县| 伊通| 洛扎县| 承德县| 农安县| 景泰县| 克什克腾旗| 桑植县| 平邑县| 堆龙德庆县| 卢湾区| 宁陕县| 于田县| SHOW|