Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged download



« Prev 1 2
Set headers for file download
0 2473 posted 8 years ago by macodev
By default Apache won't allow you to download a file over 2GB. This PHP script overcomes that along with some extra goodies. The script will read from standard url path the file on the server to download and display the filesize along with a link...
1 2774 posted 12 years ago by deanhouseholder
This snippet allows you set a limitation for download rate of the file that visitors download from your site.
1 3502 posted 12 years ago by apphp-snippets
Here is a set of functions that can be very useful: Give this script the url of a webpage, and it will save all images from this page on your server.
1 3556 posted 12 years ago by goo
This function will force a file to be downloaded. It accepts $_path as a parameter.
1 2599 posted 13 years ago by o0110o
Class that convert arrays to csv format, downloads CSV files and saves to disk on server.
0 2627 posted 13 years ago by TimoZachi
Extracts the video title & download URL from a youtube page and starts a download.
3 3113 posted 13 years ago by codespartan
This PHP code is made to help people using the ActionScript 3 AlivePDF library to save PDF files from a Flash app to a server. ActionScript 3 AlivePDF save code: _pdf.save(Method.REMOTE, "save.php", Download.ATTACHMENT, "MyFile.pdf");
0 2600 posted 13 years ago by vamapaull
Force downloadable file with php
0 2290 posted 13 years ago by rickygri
0 2335 posted 14 years ago by zayyarphone
simple pass the file name and that file will be available for download
0 2332 posted 14 years ago by kumar_sekhar
Simple force download crossbrowser
0 2573 posted 14 years ago by Mosaic
Donwloads weren't working with https + ie6/ie7. This line solves the problem (order is important, **no-store** must be first).
0 2120 posted 15 years ago by ashsa
Counts the number of times that a file has been downloaded, using PHP and mySQL
0 1081 posted 15 years ago by eme_dlr
1 1834 posted 15 years ago by rave
I wrote this code for when I need to get files from other servers and put them on my own server. I wanted to simplify it as much as possible.
1 9601 posted 15 years ago by BrunoDeBarros
1 1790 posted 15 years ago by mfigge
This set of headers works for me when I output file data from the database for the user to save or open.
0 1947 posted 15 years ago by bradless
Class has simple interface to download any file from a server without displaying the location of the file.
2 2031 posted 15 years ago by Almorca
provide file via URL var, and script will grab it & force download. Take a look at code, and add some of your filetypes if required
2 4231 posted 16 years ago by acosonic
Provide files to the user by forcing them to download.
0 1527 posted 16 years ago by paulgrenwood
4 1658 posted 16 years ago by level09
updated 2013-04-18! just replace the XXX fields with your own numbers. Then run this PHP Script from the command line (CLI mode). It will fetch the online statements from Hypovereinsbank direct banking. The code works by tweaking CURL settings...
0 2323 posted 16 years ago by uioreanu
Forces a user to download a file, for e.g you have an image but you want the user to download it instead of displaying it in his browser.
0 1332 posted 16 years ago by fruehjahr
3 1863 posted 17 years ago by benphelps
YouTube Video Download Link Generator free for all to use, successfulness can't be guaranteed
5 2858 posted 17 years ago by jacksont123
3 1633 posted 17 years ago by multani
Features: Complies to version 2.1 of the vCard specification Supports the following attributes: * Name * Formatted Name * Phone and fax numbers * Birthday * Address * Address label * email address * notes...
6 3214 posted 17 years ago by jonhenshaw
« Prev 1 2