Attachment name plus site name _php Tutorial

Source: Internet
Author: User
Attachments are downloaded with the name of the site, which means that the name of the website is added to the file at the time of download.
When you register to download the script home forum download-the 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 and copy content to clipboard code in two places: copy content to clipboard
Code:
$attach [' filename '] = ' Building interconnection forum Download-'. $attach [' filename ']; Of course, download the script home to your own station name

Description: It is the help of Xi Ming!

http://www.bkjia.com/PHPjc/318662.html www.bkjia.com true http://www.bkjia.com/PHPjc/318662.html techarticle attachments Download the attachment name in front of the site name, that is, when the download to this time, the file name added to the site name you register to download the script home forum download-After the name is the attachment name 1i ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.