Load File Snippets

18 March, 2015   

Example shows how to load a text file

19 May, 2012   

Example code to load CSV back into mySQL

03 June, 2013   

Plots a histogram from an external file with the frequency of each bin shown above each bar. The XTick is also the intervals of the histogram.

Two simple functions to read an write tab seperated files (like CSV files, etc).

20 July, 2015   

This example shows how to serialize a simple object by using the XmlSerializer.

18 September, 2013   

PHP example for listing directory contents

Code example using PHP to add/ remove nodes from an XML file

05 December, 2016   

Stop IE Page Load Flicker Html code Snippet by Chris Coyier

11 April, 2013   

Pull external HTML code from a file right into your webpage

13 April, 2011   

Reading a file to a string couldn't be easier than using the file_get_contents() function. Simple pass the name of the file (with path) and optional parameters

Open up a text editor, copy & paste the code below. Save the file as: "commandlinefu.py" and exit the editor.

30 August, 2015   

Loads the contents of a dir an sorts them by the date of creation.

Java code example to list the Files or Subdirectories in a Directory

07 March, 2011   

Shows how to create a simple file download by using PHP. The content could also be dynamically generated)

Java code for listing files or sub-directories in a directory

30 March, 2011   

Need to unzip a file? this function can do that for you. It is reccomended that the functions.php file and the file that exicutes the unzip function are NOT in the same directory as the zip files. unzip ( string $zipfile , string $newLocation ) zipfile gets the name of the current zip file. newLocation is where you want to store all the...

24 June, 2014   

For downloading very large files (10 meg or more), split the file into chunks when sending.

16 November, 2014   

Useful php code to see if the current file is being included or run directly.

This MATLAB code snippet reads in a file stored in the current directory and stores specified lines from the file in a new cell array for manipulation in MATLAB.

CSS code example how to custom File Input Styling in WebKit/Blink