Home > Backend Development > PHP Tutorial > Typecho附件上传时如何保留原文件名

Typecho附件上传时如何保留原文件名

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:47:28
Original
1713 people have browsed it

我通过一款te平台下的又拍云插件给我的空间上传图片并用于博客,出于一定目的需要保留英文字符的原文件名。但是插件作者称te平台的附件上传功能会自动重命名附件。不知道如何修改te的哪些具体代码能够保留原文件名?

回复内容:

我通过一款te平台下的又拍云插件给我的空间上传图片并用于博客,出于一定目的需要保留英文字符的原文件名。但是插件作者称te平台的附件上传功能会自动重命名附件。不知道如何修改te的哪些具体代码能够保留原文件名?

https://github.com/typecho/typecho/blob/master/var/Widget/Upload.php

Related labels:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template