Script to establish file Exchange (i) _php Foundation
Source: Internet
Author: User
Because the reason for the work needs to install a file exchange on the local area network thing, also can make a file to download the function block.
With the Php,mysql,apache is now the process of writing out, because this reference to Oso some of the articles, is also a supplement,
Also express my respect for the predecessors.
Prepare to build a table in your MySQL yourdatabase library upfile
/* Upload File Table
CREATE TABLE Upfile (
ID TINYINT (8) NOT NULL auto_increment,//file ID number
FileName VARCHAR NOT NULL,//filename
Fileshow VARCHAR NOT NULL,//File description
Date date not NULL,//upload dates
Uploader VARCHAR NOT NULL,//upload signature
Type VARCHAR NOT NULL,//file type (human-defined)
PRIMARY KEY (ID)
)
*/
This is the main page of the program to display the uploaded files.
index.php
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.