Home >Backend Development >PHP Tutorial >QQ mailbox super large attachment, add the website name before the attachment name

QQ mailbox super large attachment, add the website name before the attachment name

WBOY
WBOYOriginal
2016-07-29 08:37:291317browse

When downloading an attachment, add the website name before the attachment name. That is to say, when downloading to the local machine, the website name will be added to the file name. When you register to download, the website forum download will appear - the last name is the attachment name. 1 include/attachment.func .php: Copy content to clipboard
Code:
while($attach = $db->fetch_array($query)) {2 attachment.php: Copy content to clipboard
Code:
if($attach = $db ->fetch_array($query)) {Add the code to copy the content to the clipboard under the above two places: Copy the content to the clipboard
Code:
$attach['filename'] = 'Building Internet Forum Download- '.$attach[ 'filename']; Of course, replace "Download this site" with your own site name
Explanation: Xi Ming helped!
The above introduces the super large attachments of qq mailbox. Add the website name before the attachment name, including the content of super large attachments of qq mailbox. I hope it will be helpful to friends who are interested in PHP tutorials.

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