Management Program for downloading a program (1 ). 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 some functions of the program at any time:
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
Example 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 it at any time...