怎么用php上传一个固定的简单文件

WBOY
Release: 2016-06-13 12:30:33
Original
876 people have browsed it

如何用php上传一个固定的简单文件?
1、固定一个文件上传到服务器,文件名是固定的,不需要用户指定。
2、上传后保存在一个指定的文件夹中,如果有同名的文件,则删除原来的。

以上功能如何做最简单?

Related labels:
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