PHP database php generation static Small instance
Description: Very simple a php generation static page Small instance source code program, if you are learning php generation static, and the molding of the CMS feel very complex, you can download this small program, random research changes, the source contains the principle of generating static pages, but the source code is very simple, not a few files, a look on the understanding, The master will go by the detour.
The structure of the source code program: A total of 8 files.
index.php Homepage Read the news category content added in the background, the data of the news classification is placed directly in the database.
inc/the connection file for the database, you need to manually modify the user name and password.
moban/generate static template files, can be modified according to their own needs.
newslist/generates a directory of static HTML files.
Images/the front desk needs pictures.
Data.sql database files, remember to build.
ewebeditor/the editor of the background call.
admin/Backstage Program--"Backstage did not login, a total of four pages, add news and delete news features, add the direct generation of static pages, deleted when the generated static HTML files are deleted.
localhost/admin/add.php Add News
localhost/admin/del.php Delete News
localhost/adminaddnews.php generating a static HTML execution file
localhost/delnews.php Deleting an article while deleting the corresponding static HTML file
Download Description: Small program structure is very simple, for the convenience of novice PHP programmer research to use, the main file few.
Author: Smiling address: http://www.60ie.net/article/5/255.html welcome friends who like PHP research to explore together. Click below to download. PHP generate static page simple Small instance phphtml.zip (586 K)
Reply to discussion (solution)
? You can pick up the points.
Learn from the landlord
Mark down ...
The landlord is a good man.
Landlord is really very good
Landlord this blog is good, knowledge is comprehensive, later have?? You can go there and see.
Line up a team, take a point.
First downloaded, looked for a long time there is no direct use of the code, I hope it can be simple to understand the novice .... Thank you first.
Good man, thank you (⊙o⊙)!!
Very good