Home >Backend Development >PHP Tutorial >QQ mailbox super large attachment, add the website name before the attachment name
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.