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 690 posted 11 years ago by throb
Java Fast File Copy using NIO
0 739 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 586 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 1024 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 734 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 937 posted 11 years ago by apphp-snippets
Safe way to recursive delete directory
0 897 posted 11 years ago by alces
Host file location on XP
0 697 posted 11 years ago by thesmu
Image file upload, javascript
0 667 posted 11 years ago by laxman2021
This SSH API is used to execute remote commands, send and receive files.
0 612 posted 11 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 636 posted 11 years ago by VisionHive
0 567 posted 11 years ago by scrapy
iconv -l to show all available encodes, replace xxx with you file ext
0 656 posted 11 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 995 posted 11 years ago by ShaneGowland
This function removes a directory and its contents. Use with careful, no undo!
1 738 posted 11 years ago by fackz
išorinio javascript failo įtraukimas į html
0 457 posted 11 years ago by ptomas
list all files in directory and subdirectory
1 795 posted 11 years ago by ne7son
Run This Command in your Terminal ---------------------------------------- mysql -u **username** -p -h localhost **DATA-BASE-NAME** < data.sql
0 674 posted 11 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 954 posted 11 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 855 posted 11 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 606 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 1268 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 887 posted 12 years ago by kellishaver
Preferred way of printing files in Clojure.
0 732 posted 12 years ago by ef
Restore a deleted file within the git repo
1 654 posted 12 years ago by Glycerine
0 799 posted 12 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 1908 posted 12 years ago by burnandbass
0 824 posted 12 years ago by scruffpuff