-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
Download
Description
This function downloads an attachment or avatar, and increments the downloads.
Syntax
void Download ()
Notes
- Requires the view_attachments permission. (not for avatars!)
- Disables the session parser, and clears any previous output.
- Depends on the attachmentUploadDir setting being correct.
- Is accessed via the query string ?action=dlattach.
- Views to attachments and avatars do not increase hits and are not logged in the "Who's Online" log.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.042 seconds with 13 queries.
- Forum Search