Several features of the program are:
1: The Complete search engine
2: Three sorts of objects. (add time, download times, program name). and two sorts of sorting methods (reverse, order).
3: The administrator changes at any time.
4: Report link error. For the administrator to revise at any time.
5: Paging function.
To create a table:
CREATE TABLE Download (
Author varchar (15),
Title varchar (30),
URL varchar (200),
Say text,
Ttime datetime,
Click bigint (20),
The ID bigint () not NULL auto_increment,
Type tinyint (3) unsigned DEFAULT ' 1 ' not NULL,
Size varchar (10),
PRIMARY KEY (ID)
);
Some notes:
Author: program author
Title: Program Name
URL: Program Address
Say: Introduction to the program
Ttime: Add Time
Click: Download times
ID: Program number. Automatically increase
Type: Program category
Size: Program size
This program and the administrator login interface
Log in seasonal session_power is greater than 1 (permissions). and register it.
Opendata.php source code is as follows:
?
$CN = mysql_connect ("localhost", "" "," ");
if (!mysql_select_db ("MyDB", $CN))
?>
The URL that links to download.php is: Download.php?ac
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.