JSON File Upload: Validate and process files uploaded via Web forms

Recommend this page to a friend!

  Author  
Picture of Yamin Noor
Name: Yamin Noor <contact>
Classes: 1 package by
Country: United States United States
Age: 37
All time rank: 1227163 in United States United States
Week rank: 694 75 in United States United States


  Detailed description   Download .zip .tar.gz   Install with Composer  
This class can be used validate and process files uploaded via Web forms.

The class can perform several types of validation, like: check whether the user computer IP address is not in a list of banned addresses, check the file size against a given limit, check whether the file name has one of the accepted extensions and check whether file with the same name was previously uploaded.

After validating the file, the class can move it to a given upload folder and add an entry in a log file that records information about uploaded files.

The example demonstrates how to display an updated list of files stored in the upload folder.

Details
{startverticalbanner}
**************************
* JSON file upload class *
* Author: Md.Yamin Noor  *
* Date: August 06, 2006  *
**************************
           
1. please do make sure that "upload/" & "upload/upload_logs" 
directory exists.

2. You can configure your directory by editing upload1.php file.


Thanks
Md.Yamin Noor          

  Classes of Yamin Noor  >  JSON File Upload  >  Download .zip .tar.gz  >  Support forum (2)  >  Blog  >  Latest changes  
Name: JSON File Upload
Base name: json_file_upload
Description: Validate and process files uploaded via Web forms
Version: 1.0.0
PHP version: -
License: GNU General Public License (GPL)
All time users: 2524 users
All time rank: 1511
Week users: 0 users
Week rank: 421
 
  Groups   Screenshots   User ratings   Applications   Files  

  Groups  
Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Screenshots  
screenshot
File Role Description
screenshot Screen screenshot


  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.

If you know an application of this package, send a message to the author to add a link here.

  Files  
File Role Description
json (2 files)
upload (1 file, 1 directory)
json_upload.php Example json upload file
upload.css Data css
upload.html Data upload html
upload.php Data upload main file
upload1.php Example upload helper file
upload_class.php Class main class file
readme.txt Doc. readme

  Files  /  json  
File Role Description
   json.js Data json js
   json.php Class json php

  Files  /  upload  
File Role Description
upload_logs (1 file)
   readme.txt Data default folder

  Files  /  upload  /  upload_logs  
File Role Description
   readme.txt Data upload log folder

Install with Composer - Download all files: json_file_upload.tar.gz json_file_upload.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

For more information send a message to info at phpclasses dot org.