Thinkphp uploads two files. One file type is restricted and the other is unrestricted. Moreover, the two file names are set differently. Can you please give me some advice?

WBOY
Release: 2023-03-01 21:08:02
Original
1230 people have browsed it

Thinkphp uploads two files, one has a file type restriction and the other has no restrictions, and the two file names are set differently, please give me some advice

Reply content:

Thinkphp uploads two files, one has a file type restriction and the other has no restrictions, and the two file names are set differently, please give me some advice

When instantiating upload, you instantiate two and set different rules.

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