PHP Classes

File: template/Code/file-input-data-lang

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/Code/file-input-data-lang   Download  
File: template/Code/file-input-data-lang
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: 11 months ago
Size: 564 bytes


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