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
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
)