PHP中退出帳號出現403Forbidden解決方案

來源:互聯網
上載者:User
PHP中退出帳號出現403Forbidden
就是網站登入一個帳號之後,再點退出不是應該跳回首頁嗎,但是他顯示403Forbidden,怎麼解決我找了好久了都沒找到解決方案。
www.lianorg.com 就是這個網址,登陸帳號再退出顯示這個:
Forbidden
You don't have permission to access /












10





  • 這個怎麼對呢?如果你是通過超連結退出的話,應該用$_GET['act'] 接收吧。------解決思路----------------------你看看直接在瀏覽器方問 outlogin.php 會是什麼結果------解決思路----------------------你退出後跳到了http://www.lianorg.com/%3Cbr%20/%3E%3Cfont%20size='1'%3E%3Ctable%20class='xdebug-error%20xe-fatal-error'%20dir='ltr'%20border='1'%20cellspacing='0'%20cellpadding='1'%3E%3Ctr%3E%3Cth%20align='left'%20bgcolor=當然403啦。檢查下退出的路徑。------解決思路----------------------是你頁面出錯了。你ajax訪問,返回的data是一段錯誤資訊。所以導致你的跳轉連結也出現了問題。許可權是有的。錯誤在:Fatal error: Call to undefined function session_unregister() in D:\wamp\www\lianorg1\outlogin.php on line ------解決思路----------------------http://www.lianorg.com/%3Cbr%20/%3E%3Cfont%20size='1'%3E%3Ctable%20class='xdebug-error%20xe-fatal-error'%20dir='ltr'%20border='1'%20cellspacing='0'%20cellpadding='1'%3E%3Ctr%3E%3Cth%20align='left'%20bgcolor=*****你這個路徑都沒問題,那什麼才有問題呢?%3Cbr%20/%3E%3Cfont%20size='1'%3E%3Ctable%20class='xdebug-error%20xe-fatal-error'%20dir='ltr'%20border='1'%20cellspacing='0'%20cellpadding='1'%3E%3Ctr%3E%3Cth%20align='left'%20bgcolor=*****你這個很明顯是伺服器返回的一段html形式的錯誤資訊

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.