Welcome To Snipplr


Everyone's Recent Snippets Tagged file



This allows you to take a node that has expressions in it and create copies of them that are hard pathed. It will also disable said expression driven write nodes and disable them.
0 861 posted 11 years ago by throb
Java Fast File Copy using NIO
0 905 posted 11 years ago by roizaig
Add this snippet to `wp-config.php` to remove the file editor links from the WordPress admin menus. Read more about... [disabling the WordPress file editor](http://www.orderofbusiness.net/blog/disable-wordpress-file-editor/)
0 733 posted 11 years ago by tacudtap
This snippet allows you set a limitation for download rate of the file that visitors download from your site.
1 1385 posted 11 years ago by apphp-snippets
This code allows to pass filename in the $file_name variable and function will return file extension only.
0 909 posted 11 years ago by apphp-snippets
You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't need to create your own functions or use regular expressions to get this info. It was already been created for this purpose.
0 1163 posted 11 years ago by apphp-snippets
Safe way to recursive delete directory
0 1135 posted 11 years ago by alces
Host file location on XP
0 909 posted 11 years ago by thesmu
Image file upload, javascript
0 826 posted 11 years ago by laxman2021
This SSH API is used to execute remote commands, send and receive files.
0 800 posted 12 years ago by ryantxr
This function searches the current working directory (or any other directory path that you specify with parameter $p) for a file, named $f, and returns the full path and filename of the first occurrence, or false if it is either not found or the maxi...
0 803 posted 12 years ago by VisionHive
0 706 posted 12 years ago by scrapy
iconv -l to show all available encodes, replace xxx with you file ext
0 814 posted 12 years ago by rabc
The .NET Framework doesn't support automatic detection of character encoding in the default file I/O methods. This is a quick function that returns True in the specified file is Unicode.
0 1271 posted 12 years ago by ShaneGowland
This function removes a directory and its contents. Use with careful, no undo!
1 909 posted 12 years ago by fackz
išorinio javascript failo įtraukimas į html
0 594 posted 12 years ago by ptomas
list all files in directory and subdirectory
1 973 posted 12 years ago by ne7son
Run This Command in your Terminal ---------------------------------------- mysql -u **username** -p -h localhost **DATA-BASE-NAME** < data.sql
0 829 posted 12 years ago by MohamedAlaa
This is a batch file that will add the date to the end of all files in a particular directory located on the user's desktop and place them in a directory called Output_Renamed on the user's desktop.
2 1196 posted 12 years ago by _reydin_
Note: This also uses a flat file to cache the results, be sure to also upload the 'rss_cache.txt' file. Usage: <?php>
0 1038 posted 12 years ago by crypticsoft
Projecto de LabP01 que consiste na criação de uma classe que permite efectuar operações sobre ficheiros de texto.
0 730 posted 12 years ago by N-genhocas
Getting files, folders, file count, folder count in a directory with php and writing them to a web page
1 1584 posted 12 years ago by duzenz
Checks to make sure the file is a valid image file, checks max file size, and directory write permissions, requires 'fileutils' gem.
2 1096 posted 12 years ago by kellishaver
Preferred way of printing files in Clojure.
0 927 posted 12 years ago by ef
Restore a deleted file within the git repo
1 800 posted 12 years ago by Glycerine
0 1013 posted 13 years ago by thomasan
Use this class to create a simple upload-to-flash button. Select image from your local harddrive and upload it in flash, later you can get is as Bitmap() object All images are stored in static array, so you can retrive it anywhere you want in your c...
1 2177 posted 13 years ago by burnandbass
0 1024 posted 13 years ago by scruffpuff