Welcome To Snipplr


Everyone's Recent Snippets Tagged download



Donwloads weren't working with https + ie6/ie7. This line solves the problem (order is important, **no-store** must be first).
0 77 posted 9 years ago by ashsa
Counts the number of times that a file has been downloaded, using PHP and mySQL
0 82 posted 9 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 230 posted 9 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 123 posted 9 years ago by kentoy
1 136 posted 10 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 184 posted 10 years ago by bradless
It was based in Markjnet example here: >> http://www.markj.net/iphone-asynchronous-table-image/
4 105 posted 10 years ago by rabc
To force the user to download certain filetypes in the current directory.
0 122 posted 10 years ago by darylclaudio
Get Youtube Video, add this as bookmark
2 93 posted 10 years ago by arvinarvin
Class has simple interface to download any file from a server without displaying the location of the file.
2 131 posted 10 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 559 posted 10 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 302 posted 10 years ago by acosonic
Provide files to the user by forcing them to download.
0 108 posted 10 years ago by paulgrenwood
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 94 posted 10 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 94 posted 10 years ago by brandonio21
1 101 posted 10 years ago by hasantayyar
Very easy to use JS Calendar Control with so many customization options.
0 84 posted 11 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 94 posted 11 years ago by abhiomkar
THERE IS A BUG AFTER COUNTING 100
0 87 posted 11 years ago by zxeem
4 95 posted 11 years ago by level09
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 57 posted 11 years ago by nategood
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 196 posted 11 years ago by uioreanu
For expression engine, I placed with with the main set of .htaccess rules in the root
1 64 posted 11 years ago by joeymarchy
Won't work with Google code pages: they are javascript powered.
0 87 posted 11 years ago by iblis
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 79 posted 11 years ago by fruehjahr
Simply paste the list of URLs into stdin. You can add the option `-P 4` to parallelize the downloads.
1 99 posted 11 years ago by xenonite