scipper/formfile

parses the $_FILES array into an object.

Installs: 284

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/scipper/formfile

1.0.1 2015-10-15 11:18 UTC

This package is not auto-updated.

Last update: 2025-10-12 00:41:33 UTC


README

parses the $_FILES array into an object

usage

<?php
	
use scipper\Formfile\Formparser;
use scipper\Formfile\FormfileException;
	
$formparser = new Formparser();
$formparser->parse();
	  
foreach($formparser->getFormfiles() as $file) {
  try {
    $path = $file->save("/some/where/");
  } catch(FormfileException $e) {
    error_log($e->getMessage());
  }
}