PHP 4: Further reading from login

Source: Internet
Author: User

Original: PHP 4: Further reading from login

We are already in PHP3: the PHP tag from the login interface speaks of PHP markup, but its page code has a sentence
require_once('bookmark_fns.php');Then let's take a look at the bookmark_fns.php file. The code is as follows:
1<?PHP
2  //We can include this file and all of our files
3//This, every file would contain all our functions and exceptions
4  require_once('data_valid_fns.php');
5  require_once('db_fns.php');
6   require_once('user_auth_fns.php');
7  require_once('output_fns.php');
8   require_once('url_fns.php');
9?>
TenThere is nothing to say here, because the grammar has already been introduced.
The following is to add the purpose of all pages. As the following table:

login.php
System login Page
register_form.php
User Registration form.
register_new.php
New user registration script.
forgot_form.php
The user forgets the password and needs to fill in the form.
forgot_passwd.php
Reset the forgotten password.
member.php
The user's main page, which contains all of its bookmark information.
add_bm_form.php
Create a bookmark form.
delete_bms.php
The script that removes the bookmark from the bookmark list.
change_passwd_form.php
The form that modifies the password.
register_passwd.php
The script that modifies the password page.
logout.php
The script that the user logs off the page.
bookmark_fns.php
The collection of files that the application contains.
data_valid_fns.php
A function that checks whether the data is valid.
db_fns.php
The function that connects the database.
user_auth_fns.php
A function of user authentication.
url_fns.php
Adds or removes a label function.
output_fns.php
A function that formats the output in HTML form.
OK. You are now familiar with the entire project's script file. Isn't it too complicated? Because just a few papers. When I explain all the documents once, I believe that the knowledge of PHP is basically familiar.
I'll start with the output_fns.php on line 7th.
See the next chapter for details.

PHP 4: Further reading from login

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.