PHP 4 從Login進一步看到的

2021-09-06 20:00:27 字數 1497 閱讀 7510

原文:

php 4:從login進一步看到的

我們已經在php 3:從login介面談php標記談到了php標記,不過其頁面**有一句

require_once('

bookmark_fns.php');

那我們就看看

bookmark_fns.php這個檔案吧。其**如下: 1

<?

php2

//we can include this file in all our files

3// this way, every file will contain all our functions and exceptions

4require_once('

data_valid_fns.php

'); 

5require_once('

db_fns.php');

6require_once('

user_auth_fns.php');

7require_once('

output_fns.php');

8require_once('

url_fns.php');

9?>

10 這裡沒有什麼好說的,因為都已經語法都已經介紹了。

下面想補充的是所有頁面的用途。如下表:

login.php

系統登入頁面

register_form.php

使用者註冊表單。

register_new.php

新使用者註冊指令碼。

forgot_form.php

使用者忘記密碼,需要填寫的表單。

forgot_passwd.php

重新設定遺忘的密碼。

member.php

使用者的主頁面,包含其所有的所有書籤資訊。

add_bm_form.php

建立書籤的表單。

delete_bms.php

從書籤列表中刪除書籤的指令碼。

change_passwd_form.php

修改密碼的表單。

register_passwd.php

修改密碼頁面的指令碼。

logout.php

使用者登出頁面的指令碼。

bookmark_fns.php

應用程式包含的檔案集合。

data_valid_fns.php

檢查資料是否有效的函式。

db_fns.php

連線資料庫的函式。

user_auth_fns.php

使用者身份驗證的函式。

url_fns.php

增加或刪除標籤的函式。

output_fns.php

以html形式格式化輸出的函式。

ok.現在已經熟悉了整個專案的指令碼檔案。是不是不太複雜呀。因為就這麼幾個檔案。當我把所有檔案講解一次的話,相信php的知識基本上已經熟悉了。

我將從第7行的output_fns.php開始吧。

具體參看下一章。

PHP 4 從Login進一步看到的

我們已經在 php 3 從login介面談php標記談到了php標記,不過其頁面 有一句 require once bookmark fns.php 那我們就看看 bookmark fns.php這個檔案吧。其 如下 1 php2 we can include this file in all ou...

bufferedReader進一步理解

public static void main string args string mystring system.out.println 請輸入明文 bufferedreader buf new bufferedreader new inputstreamreader system.in try...

Looper Handler進一步學習

package com.test.looper import android.os.bundle import android.os.handler import android.os.handlerthread import android.os.looper import android.os....