A program download management program (1)_PHP tutorial

WBOY
Release: 2016-07-21 16:06:51
Original
836 people have browsed it

Some functions of this program are as follows:
1: Complete search engine
2: Three sorting objects. (Joining time, download times, program name). And two sorting methods (reverse order, sequential order).
3: Administrators can modify it at any time.
4: Report link errors for administrators to correct at any time.
5: Paging function.

Create 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)
);
Some instructions:
author: program author
title: program name
url: program address
say: program introduction
ttime: joining time
click: download count
id: Program number. Automatically increase
type: program classification
size: program size

The program and administrator login interface
When logging in, session_power is greater than 1 (permission). And register it.

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/315275.htmlTechArticleSome functions of this program are as follows: 1: Complete search engine 2: Three sorting objects. (Add time, download times, program name). And two sorting methods (reverse order, sequential order). 3: The administrator can modify it at any time...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!