Browse Category: Files

  1. Multiple File Upload
    This is a script, what allows you to upload multiple files.
    Added on May 22, 2017 by kovoliver.
  2. Random Homepage Promotion Rated an average of 5 stars by 1 person (Average: 5 stars by 1 person)
    This very simple code allows you to view a random(defined) page.
    Added on October 20, 2016 by NoahLiedFilm.
  3. Cfile
    I needed something working fine with files, almost like the class CFile of MFC in Visual C++. I developed this class which basically works the same, although not with the same efficiency because of PHP limitations anyway. Developers are now able to read and write data either in text and in binary mode (raw data): now strings, numbers (integer, double, float) and arrays are be read and written. The attached examples cover simple file management, reading of file header structures and data (jpeg and bmp, here). Although such example are rather naive in their conceptions, their goal is to show all the features of this class. Developers would benefit of this class for its potential functionalities and it may open to an easier approach to files in php, while coding advanced applications.
    Added on August 24, 2011 by zandor.
  4. List Files in Directory Rated an average of 4 stars by 1 person (Average: 4 stars by 1 person)
    This code prints out all of the files in the given directory.
    Added on February 3, 2011 by Zhay.
  5. Get File Extension Rated an average of 5 stars by 1 person (Average: 5 stars by 1 person)
    This script gets the file extension from a file name/path.
    Added on February 2, 2011 by Zhay.
  6. Quick File Upload Rated an average of 3.5 stars by 2 people (Average: 3.5 stars by 2 people)
    This function uploads a file that has been POST and is in the $_FILES array.
    Added on January 13, 2008 by Zhay.
  7. Write Text to a File Rated an average of 3.636 stars by 11 people (Average: 3.636 stars by 11 people)
    This script makes the process of writing text to a file quicker.
    Added on August 3, 2007 by Zhay.
  8. Format Size Units Rated an average of 3.667 stars by 3 people (Average: 3.667 stars by 3 people)
    This script accepts a long value representing a number of bytes, and it outputs the appropriate file size unit.
    Added on August 2, 2007 by Zhay.

Login

User:
Pass:

Register

Not a member? Register today and receive the many free benefits of being a member!

Advertisements