This chapter introduces a simple text-based BLOG system. of course, we can use this blog system to develop and understand the principles of php website development. In fact, website development is easy to BLOG, the following describes the functional modules. Post. phpn... php blog website development example tutorial this chapter introduces a simple text-based BLOG system, of course, we can use this blog system development, a good understanding of php website development principles, in fact, website development is easier to blog. The following describes the functional modules.
This chapter introduces a simple text-based blog system. of course, we can use this blog system to develop and understand the principles of php website development. In fact, website development is easy to blog, the following describes the functional modules.
Post. php program that reads files and displays log content.
Page.html displays the html document of a log article.
Css code that shows the effect on the style.css tutorial page.
Add. php program for adding blog articles.
Config/auth. php user name and password configuration file.
Index. php blog homepage program.
Edit. php: The program used to edit a blog article.
Delete. php: The program used to delete a blog article.
Archives. php: a program for archiving and displaying blog articles.
Logout. php exit the logon program.
*/
// Post. php program that reads the file and displays the log content.
Simple text-based blog
My blog
---- I have dream ....
About me
Www.php1.cn
Copyright 2007
// Page.html displays the html document of the log article.
The code is as follows:
Blog
My blog
---- I have a dream ....
Log Article title
2007-12-01
Log Article content
About me
Www.php1.cn
Copyright 2007
The above is the php blog website development instance tutorial. for more related instance courses, refer to: php website development instance tutorial.