Management Program for a program download

Source: Internet
Author: User
Tags add time
Some functions of this program include: 1: Complete Search Engine 2: Three sorting objects. (add time, download times, program name ). and two sorting methods (reverse order, order ). 3: The administrator can modify the settings at any time. 4: Report link errors. it can be corrected by the administrator at any time. 5: paging function. create a table: CREATETABLEdownload (authorvarchar (15), titlevarchar (30). the url contains the following functions:
1: Complete search engine
2: Three sorting objects (add time, download times, program name), and two sorting methods (reverse order, order ).
3: The administrator can modify the settings at any time.
4: The link error is reported, which can be corrected by the administrator at any time.
5: paging function.

Create a table:
Create table download (
Author varchar (15 ),
Title varchar (30 ),
Url varchar (200 ),
Say text,
Ttime datetime,
Click bigint (20 ),
Id bigint (20) not null auto_increment,
Type tinyint (3) unsigned DEFAULT '1' not null,
Size varchar (10 ),
Primary key (id)
);
Notes:
Author: Program author
Title: Program Name
Url: Program address
Say: Program Introduction
Ttime: join time
Click: number of downloads
Id: Program id. added automatically
Type: Program type
Size: Program size

This program and the administrator login interface
The value of session_power during logon is greater than 1 (permission.

The source code of opendata. php is as follows:
$ Cn = mysql_connect ("localhost ","","");
If (! Mysql_select_db ("mydb", $ cn ))
?>

The url linked to download. php is: download. php? Ac

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.