|
|
| File Management [+] Favor-It | |
| |
 |
| | Sort By:
|
Directory Lister PHP script is a really simple way to have your own directory browser, just drop the file in the folder and it will show an index of all files in the directory on your webspace.
Author: Directory lister Code: PHP 4.0 |
Upload a File is a PHP script that will enable users of your site to upload files to your server. Ideal for inside member areas to prevent script abuse. Upload a File includes controls for max file size. Author: Links Traffic Code: PHP 4.0 |
This is a sample code showing a simple way to read from a text file. The script opens the file, reads the contents in and saves it to a variable, then closes the file and cleans up the system resources. Author: Keith Code: PHP 5.0 |
|  | |
This page shows how to list all files and folders in a directory. Also, this script is displayed side-by-side with its PHP counterpart to contrast the language's syntax differences. Author: Keith Van Dyck Code: PHP 5.0 |
This code shows how easy it is to retrieve a file's size information in both ASP and PHP. The script reads in the system's size information for the given file into a variable, in bytes. Author: Keith Van Dyck Code: PHP 5.0 |
Compress files in PHP can be very useful and the exec command can simplify the procedure on linux. In this codesnip, you will learn how to tar gz a file by using the exec function.
Code: PHP 4.0 |
If your sites have download links to your files, you might want to put all your files in one directory rather than have them scattered throughout your site. Use this script to enable your visitors to download your files. Code: PHP 4.0 |
|  | |
These functions are used to upload and download files over HTTP. It opens socket connection to the remote host and make HTTP requests. Use these functions to easily upload and download files with your PHP code. Author: Nashruddin Amin Code: PHP 5.0 |
With PHP, it is possible to upload files to the sserver. Create an Upload-File Form to allow users to upload files from a form can be very useful. This article is the W3 School's explanation of how the File Upload works.
Author: W3 Schools Code: PHP 5.0 |
Icon Key >
 - Recently Updated
 - Showcase Listing
|