A simple script that downloads a file from a FTP-Server to the directory this script is located at.
A very simple script that helps make your ZIP files available for download. It can serve as the basis for a self updating photo gallery.
Class to enable search/replace of files. Can perform the search over one file, multiple files, entire directories with/without subdirectories. Can search using four different search functions, supporting ereg and preg regular expressions.
This class features file-extension check, maximum file-size limitation and a flexible error reporting system. It is extremely easy to use and comes with a full working example.
Allows uploads of files to your web server and cleans up names of files by removing unsafe characters from the input. Moves files to a specified directory and displays the results. Restrict file types of acceptable uploads. Supports error messaging
This function traverses a directory structure and prints files and subdirectories.
A simple function for uploading a file from a web browser to the web server.
A class for wrapping basic file operations that includes error checking to reduce the amount of code in your own programs.
Wrappers for simple file system operations on directories. For example, listing the contents of a directory: instead of doing the whole openDir/readDir/closeDir gig everytime, you'd use the function read_file that handles errors.
A collection of mime-related functions that don't rely on PHP's mime_magic module. Currently the only detection is done based on the file's extension. Reverse functions are also provided to look-up known extensions for a given mime. |