Welcome To Snipplr
Everyone's Recent Snippets Tagged file
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
simple pass the file name and that file will be available for download
0
866
posted 13 years ago by kumar_sekhar
currently formatted for use on mediatemple server. replace file path with absolute path of resources.
0
807
posted 13 years ago by dan_hoerr
This class can log messages to a file. If the log file becomes too large (over 1MB), the class will archive it and will create new. If there are archives older than one month, they will be deleted automatically.
In the future versions I will add th...
0
948
posted 13 years ago by stz184
There are a lot of recursive glob functions out there but they don't build a tree, they build a 1 dimensional array...This function builds a directory tree.
1
727
posted 13 years ago by danoph
A simple one page form with attachment that is meant to go straight to the email and not uploaded to the server. Emails an HTML version, a PlainText version and the attachment if there is one.
4
1259
posted 13 years ago by StevenW721
The uploaded file is attached to the "pid" of the recently inserted project.
the "pid" variable is retrieved from the database after the project has been entered
2
974
posted 13 years ago by danhanly
Uploading multiple files at once used to be strictly in the realm of flash or required javascript to crate multiple upload forms as needed. The first method has the problems with the general incompatibility of flash. The second, well, it's a very low...
0
1138
posted 13 years ago by FatFolderDesigner
Example written 01/13/2011
The following code shows how to implement functionality in your Windows Forms application, such that you'll be able to open a file that is dragged and dropped onto your program's form. This behavior is often desirable fo...
0
829
posted 13 years ago by kyrathaba
This was more of a go at learning the basics of OOP, however I decided to document it well in case anyone had any comments. Note: It only works with single files, no directory usage.
0
684
posted 13 years ago by asdasDan
Tres formas de comprobar la existencia de un archivo:
Three ways to test the existence of a file:
0
955
posted 13 years ago by eliluminado