SoFunction
Updated on 2025-04-08

A program download management program (a)

Some of the functions of this program are:
1: Complete search engine
2: Three sorting objects. (addition time, download times, program name). and two sorting methods (reverse order, order).
3: Administrators can modify it at any time.
4: Report link errors. For administrators to correct them at any time.
5: Pagination 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)
);
Some instructions:
author:Program author
title:Program name
url: program address
says:Program Introduction
ttime: Join time
click: Download times
id: program number. Automatically increase
type:Program classification
size: program size

The program and administrator login interface
Log in to the session_power is greater than 1 (permission). and register it.

The source code is as follows:
<?
$cn = mysql_connect("localhost","","");
if(!mysql_select_db("mydb",$cn))
?>

The URL linked to is:?ac