Skip to content

Instantly share code, notes, and snippets.

<?php
namespace Tx\Myutils\Utility;
/* *
* This script belongs to the TYPO3 Extension "myutils". *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU General Public License, either version 3 of the *
* License, or (at your option) any later version. *
* *
/**
* Upload files.
*
* @return void
*/
public function uploadAction() {
$overwriteExistingFiles = TRUE;
$data = array();
$namespace = key($_FILES);