Home  >  Article  >  Backend Development  >  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?

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
WBOYOriginal
2016-12-01 00:56:241231browse

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.

Statement:
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