Algorithms Arrays Passwords Uncategorized
Commerce Uncategorized
Databases Abstraction Layers Informix LDAP MS SQL MySQL ODBC PostgreSQL Uncategorized
Date & Time Calculators Conversion Translation Uncategorized
Discussion Chat Forums Guestbooks Polls Uncategorized
Email Validation Uncategorized
External Uncategorized
Files and Directories Uncategorized
Games Uncategorized
Graphics 3-D Graphs Resizing Thumbnails Uncategorized
HTML Forms Menus & Navigation Source Viewers Tables Templates Uncategorized
HTTP Authentication Cookies File Uploading Uncategorized
I18N Uncategorized
Math Uncategorized
Miscellaneous Uncategorized
Searching and Trees Uncategorized
Security Uncategorized
Text Uncategorized
Utilities Calendars Counters Link Checkers Weather Uncategorized
XML Uncategorized
| php sample source codes |
|---|
|
A simple file upload class.
|
|
Upload remote file withour refreshing the page. Supports mutliple uploads. Can be embedded any where inside or outside a form/html page.
|
|
An easy to configure and use script to upload files. With size control.
|
|
This is a simple Upload form for your users. It allows the user to enter their name, and after the upload is successfull it will send you an email notice including, name, IP, Date and the file uploaded.
It is also fully customizable with CSS.
You will only need to change the email value, it is marked with a comment.
|
|
With the new HTML Form class you can design file upload forms very easy. There is a method for a single file and another for multiple files.
|
|
File uploading script, can be used on Unix/WIndows
|
|
File Uploader with size restriction and file extension restriction
|
|
File uploading based on one mime type and blocking all others.
I used this script to only allow the uploading of pdf files. Please repale the directory names with your own.
|
|
Minimal File Upload to demonstrate it.
See File Uploading entry for a fuller example.
|
|
This is a very simple, working example of a file upload. I provide the php code to handle an arbitrary number of file uploads, and example html code.
|
|
With this script you can easily control:
1. What extentions can be uploaded.
2. the size of the file
3. (only applies to images) Set a max or min. height and width
4.Change the name of the file to what you want. (i.e. username)
5. Change the extention of the file.(you may wish to do this for security reasons say you allow .php files to be uploaded, you could turn evil.php into evil.nullified)
|
|
Upload script that can handle multiple uploads with file checking.
After uploadprocessing all variables are submitted to another script for further processing (e.g. database)
|
|
This enhancement of <a href=http://www.zend.com/codex.php?id=612&single=1>Uploder</a>, I add a space quota restriction and file extension filtering.
|