<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                用denglu.html做輸入賬號密碼的頁面 login.php 登錄功能 user.php 是內容頁面 logout.php 是退出代碼 <br/> <br/> login.php 代碼: ~~~ <?php $user_nome=$_POST['user_nome']; //接受用戶名 $password=$_POST['password']; //接受密碼 if($user_nome=='lampol'&&$password=='123456'){ session_start(); //啟動session $_SESSION['user']=$user_nome; //存入session用戶名ID header('location:user.php'); //成功后跳轉到user.php }else{ echo "<script> alert('用戶密碼錯誤重新輸入'); window.location.href='denglu.html'; //輸出錯誤后跳轉到登錄頁面 </script>"; } ~~~ user.php 代碼: ~~~ <?php session_start(); //開啟session if(!isset($_SESSION['user'])){ header('location:denglu.html'); //如果沒登錄就沒有session的值,這樣就跳轉到登錄頁面 } echo 'welcome登錄成功登錄成功login success登錄成功'; echo'<a href="logout.php">退出登錄</a>'; ~~~ logout.php 代碼 ~~~ <?php session_start(); //開啟session unset($_SESSION['user']); //刪除session的鍵值 header('location:denglu.html'); //跳轉到登錄頁面 ~~~ denglu.html代碼 ~~~ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>登錄</title> </head> <body> <form action="login.php" method="post"> 用戶名:<input type="text" name="user_nome" value=""> 密碼:<input type="password" name="password" value=""> <input type="submit" value="登錄"> </form> </body> </html> ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看