通行證
4.修改pp_dederemote_interface.php,在下載安裝包中, 1)cookie密碼 CODE: $cfg_cookie_encode = "RfGZu6711L"; //這里請(qǐng)?zhí)顚?xiě)DedeCms系統(tǒng)的cookie加密碼 2)域標(biāo)識(shí) CODE: $domain = ""; 注:如果本地機(jī)為空,否則放域名,不帶www,如:fs119.net 3) CODE: $DedeAPI_Url = "http://你的域名/member/passport/pp_dederemote.php"; 注:一定要修改這個(gè),安裝包里是http://localhost/,如果不修改,則出現(xiàn)遠(yuǎn)程通信錯(cuò)誤,如為本機(jī),則可以不動(dòng) 4.操作后跳轉(zhuǎn)地址 CODE: $cfg_loginJumpUrl = "/member/index.php"; //登錄成功后跳轉(zhuǎn)的網(wǎng)址 (空按第三方系統(tǒng)默認(rèn)) $cfg_regJumpUrl = "/member/index.php"; //注冊(cè)成功后跳轉(zhuǎn)的網(wǎng)址 (空按第三方系統(tǒng)默認(rèn)) 看需要設(shè)置,沒(méi)關(guān)系的 5.將api的四個(gè)文件上傳到bbs目錄下,一定要上傳,老柏加了代碼進(jìn)去了,具體大家打開(kāi)比較 6.修改首頁(yè)登陸模板代碼,替換成以下: CODE: <form name='form1' method='POST' action='/bbs/logging.php?action=login'> <input type='hidden' name='jumpurl' value='/'> <input type='hidden' name='step' value=2> <input type='hidden' name=cookietime value='31536000'> <tr> <td height="28"> </td> <td width="30%">用戶(hù)名:</td> <td width="63%"><input type="text" name="username" style="width:120px;height:20px;border:1px solid #cccccc"></td> </tr> <tr> <td height="28"></td> <td>密 碼:</td> <td><input type="password" name="password" style="width:120px;height:20px;border:1px solid #cccccc"></td> </tr> <tr> <td width="4%" height="57"> </td> <td height="57" colspan="2" align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
新聞熱點(diǎn)
疑難解答
圖片精選
網(wǎng)友關(guān)注