PHP Classes

File: template/Code/file-input-data

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/Code/file-input-data   Download  
File: template/Code/file-input-data
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 1 year ago
Size: 380 bytes
 

Contents

Class file image Download
// File data if (!empty($filesInpt)) foreach ($filesInpt As $input => $file){ if (!empty($formData[$input]['tmp_name'])) $formData[$input] = '/media/ModuleTpl/' . basename($formData[$input]['tmp_name']); else unset($formData[$input]); }