Home > Backend Development > PHP Tutorial > Recommended article system (1)_PHP tutorial

Recommended article system (1)_PHP tutorial

WBOY
Release: 2016-07-21 16:06:40
Original
747 people have browsed it

I have always wanted to make a system that allows netizens to recommend articles, but I have never had the time to complete it. Now I finally finished it hastily. And put it on my personal website: Bamboo Garden . In order to promote the spirit of source program openness, and also to further improve this system, I will make the source code of this system public here. I hope it can serve the purpose of exchanging learning experiences, and I also hope that friends will provide more opinions and suggestions for improving this system. If you have any suggestions or comments, please feel free to write to Bamboo (wangyy@363.net), or leave a message to Bamboo at the BBS of Bamboo Garden .
This system was developed under a very tight schedule, so it is still very imperfect. And the function is also very simple. The reason why this system is developed is to enrich the content of Bamboo Garden, and also to reduce my maintenance workload.
This system does not require registration, as long as you fill in the form. This system is developed on the basis of mutual benefit between this site and recommenders. Therefore, in order to bring some benefits to recommenders, this system allows you to specify a link address of a picture that will be displayed at the bottom of the article when recommending an article. The best size of the picture is 400*60. In this way, every time other netizens see the articles you recommend, it is equivalent to an advertisement.
This system consists of the following files:
Form file for recommended articles: appre.htm. Friends can make this file by themselves using the corresponding tools, but I will not provide the source code here; the
:appre.php file that processes recommended articles; the article.php file that displays the article list; and the articledisp that displays each article. .php. Here I will provide the source code separately.
First, the corresponding database must be established. The statement is:
CREATE TABLE article(
id int not null auto_increment primary key,
name varchar(15),
webname varchar(255),
webadd varchar(255),
weblogo varchar(255),
articlename varchar(255),
articleauthor varchar(255),
articlemsg longtext null
)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/315380.htmlTechArticleI have always wanted to make a system that allows netizens to recommend articles, but I have never had the time to complete it. Now I finally finished it hastily. And put it on my personal website: Bamboo Garden h...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template