PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!

  Author Author  
Picture of Yamin Noor
Name: Yamin Noor <contact>
Classes: 1 package by
Country: United States United States


  Detailed description   Download Download .zip .tar.gz   Install with Composer 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.

  Classes of Yamin Noor  >  JSON File Upload  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed 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)
 
  Groups   Screenshots Screenshots   Applications   Files Files  

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

  Files folder image Screenshots  
screenshot
File Role Description
Accessible without login Image file screenshot Screen screenshot


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

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

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

  Files folder image Files  /  json  
File Role Description
  Plain text file json.js Data json js
  Plain text file json.php Class json php

  Files folder image Files  /  upload  
File Role Description
Files folder imageupload_logs (1 file)
  Plain text file readme.txt Data default folder

  Files folder image Files  /  upload  /  upload_logs  
File Role Description
  Plain text file readme.txt Data upload log folder

Install with Composer Install with Composer - Download 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.