PHP generate static page simple small instance source code program
Source: Internet
Author: User
PHP generates a simple small instance source code program for the static page & nbsp; note: a simple PHP generates a small instance source code program for the static page, if you are learning to generate a static PHP file and are complicated with the CMS file, you can download this small program and study and modify it at will. the Source Code contains the principle of generating a static page, but the source code is very PHP to generate a static page simple small instance source code program
(A very simple PHP code for generating static page small instance source code. if you are learning PHP to generate static files and are very complicated to form CMS, you can download this small program, the source code contains the principle of generating static pages. However, the source code is very simple. if you have a few files, you can understand them at a glance. you can bypass it.
Source code structure: a total of 8 files.
The index. php homepage reads the news classification content added to the background. The news classification data is directly stored in the database.
The user name and password must be manually modified in the connection file of the inc/database.
Moban/generate static template files, which can be modified as needed.
Newslist/directory for generating static html files.
Images/foreground image.
Remember to create the data. SQL database file.
The editor called by the eWebEditor/background.
Admin/background program -- "The background is not logged on. There are four pages in total. The News and News deletion functions are added, and static pages are generated directly when added, delete the generated static html file.
Add news in localhost/admin/add. php
Localhost/admin/del. php delete news
Localhost/adminaddnews. php generates the static html execution file
Localhost/delnews. php deletes the corresponding static html file when deleting the article
Download Instructions: the small program structure is very simple. to facilitate the use of new PHP programmers, there are few major files.
Author: smiling release address: http://www.60ie.net/article/5/255.html welcome friends who like PHP Research to discuss. Click download below. PHP generates a static page simple small instance PHPHTML.zip (586 K) php database PHP generates a static small instance
------ Solution --------------------
Just give it a try, and you will receive a score.
------ Solution --------------------
Learn from the landlord
Mark ........
------ Solution --------------------
The landlord is a good guy.
------ Solution --------------------
Very good
------ Solution --------------------
This blog is good and has comprehensive knowledge. if you have any questions, visit here.
------ Solution --------------------
Team up and score points.
------ Solution --------------------
Download first. It's a good thing.
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