Recommended article system (1) _ PHP-php Tutorial

Source: Internet
Author: User
I have always wanted to create a system that allows users to recommend articles, but I have never had time to complete it. Now we have finally finished it. And put it on my personal website: Bamboo Garden bamboo.oso.com.cn. In order to promote the open spirit of the source program, and to better further improve the system, here I will publish the source code of this system. I have always wanted to develop a system that allows users to recommend articles, but I have never had time to complete it. Now we have finally finished it. And put it on my personal website: Bamboo Garden The system was developed in time, so it is not perfect. The function is also very simple. The reason why the system was developed is to enrich the contents of bamboo garden, but also to reduce the workload of maintenance.
This system does not need to be registered, as long as you enter the form. This system is developed on the basis of the mutual benefit between this site and the recommender. therefore, to benefit the recommender, this system allows you to specify the connection address of an image that will be displayed at the bottom of the article in the recommendation document. The image size is preferably 400*60. In this way, every other user who sees your recommended article is equivalent to making an advertisement.
The system consists of the following files:
Recommended document form File: appre.htm. This file can be prepared by friends using the corresponding tools. I will not provide the source code here.
: Appre. php file; displays the article. php file in the article list; displays the articledisp. php file of each article. Here I will provide the source code separately.
First, you must create a database. The statement is:
Create table article (
Id int not null auto_increment primary key,
Name varchar (15 ),
WebSphere name varchar (255 ),
WebSphere add varchar (255 ),
Weblogo varchar (255 ),
Articlename varchar (255 ),
Articleauthor varchar (255 ),
Articlemsg longtext null
)
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.