The ProgramSome of the following functions are available:
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.
Opendata. phpSource codeAs follows:
<?
$ Cn = mysql_connect ("localhost ","","");
If (! Mysql_select_db ("mydb", $ CN ))
?>
The URL linked to download. php is: Download. php? AC