Source for file upload.php
Documentation is available at upload.php
// Copyright (C) 2009 by Ronnie Garcia
// Co-developed by Travis Nickels
$tempFile =
$_FILES['Filedata']['tmp_name'];
$targetPath =
$_SERVER['DOCUMENT_ROOT'] .
$_GET['folder'] .
'/';
$targetFile =
str_replace('//','/',$targetPath) .
$_FILES['Filedata']['name'];
// Uncomment the following line if you want to make the directory if it doesn't exist
// mkdir(str_replace('//','/',$targetPath), 0755, true);
Documentation generated on Fri, 17 Jul 2009 11:02:35 +0100 by phpDocumentor 1.4.0