Welcome To Snipplr
Everyone's Recent Snippets Tagged download
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Donwloads weren't working with https + ie6/ie7. This line solves the problem (order is important, **no-store** must be first).
0
733
posted 14 years ago by ashsa
Counts the number of times that a file has been downloaded, using PHP and mySQL
0
665
posted 14 years ago by eme_dlr
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
7716
posted 14 years ago by BrunoDeBarros
<ol><li>save as filename.sh</li><li>chmod u+x filename.sh</li><li>usage : ./filename.sh\"url\"</li></ol>
1
1234
posted 14 years ago by kentoy
This set of headers works for me when I output file data from the database for the user to save or open.
0
1257
posted 14 years ago by bradless
It was based in Markjnet example here:
>> http://www.markj.net/iphone-asynchronous-table-image/
4
1249
posted 14 years ago by rabc
To force the user to download certain filetypes in the current directory.
0
1018
posted 14 years ago by darylclaudio
Class has simple interface to download any file from a server without displaying the location of the file.
2
1138
posted 14 years ago by Almorca
Source: Linux Journal
This command downloads the Web site www.website.org/tutorials/html/.
The options are:
* --recursive: download the entire Web site.
* --domains website.org: don't follow links outside website.org....
1
3960
posted 14 years ago by abhiomkar
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
3027
posted 15 years ago by acosonic
Ever needed to download a bunch of files, but annoyed by having to copy them all to Speed Download? This is for you..!
http://rapidshare.com/files/131035061/file1.rar
http://rapidshare.com/files/131049211/file2.rar
http://rapidshare.com/files/...
0
694
posted 15 years ago by Wendelboe
Variable/Parameter Discussion :
msg = Do you want to display a message box if you have the current version? (true/false)
currentversion = The version of the program
txtdocumentaddress = The text document web address containing the most updated ve...
2
934
posted 15 years ago by brandonio21
Very easy to use JS Calendar Control with so many customization options.
0
760
posted 15 years ago by design2develop
Download all tutorial pages of html format recursively.
Ex: http://www.moraware.com/help/
Get the url of tree frame (left), use it in wget.
Have fun :)
0
818
posted 15 years ago by abhiomkar
obviously change url. you'll get (better formatted) something like...
curl -o /dev/null -w %{time_total}\\n http://www.google.com
% Total % Received % Xferd Average Speed Time Time Time Current
D...
0
553
posted 15 years ago by nategood
PHP
Hypo CSV crawler - online banking statements downloader from Hypovereinsbank Munich, Germany using PHP & CURL CLI
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
1519
posted 15 years ago by uioreanu
For expression engine, I placed with with the main set of .htaccess rules in the root
1
729
posted 15 years ago by joeymarchy
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
743
posted 15 years ago by fruehjahr
Simply paste the list of URLs into stdin. You can add the option `-P 4` to parallelize the downloads.
1
791
posted 15 years ago by xenonite
Glossy slide door black menu with blue hover styled which can be used on white backgrounds
1
858
posted 15 years ago by settysantu