Several features of the program are:
1: The Complete search engine
2: Three sorts of objects. (Time to join, number of downloads, program name). and two sorting methods (in reverse order).
3: Administrator changes at any time.
4: Report link error. For administrator's amendment 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),
ID bigint (a) 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: Join time
Click: Download Count
ID: Program number. Auto Add
Type: Program classification
Size: Program Sizes
The program and administrator login interface
Log in to 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 to link 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.