submit-logo.php: look up file-uploads in $_FILES

This reduces some dependencies on register_globals
This commit is contained in:
Erik Faye-Lund 2013-05-12 21:52:27 +02:00
parent f2aea95b12
commit 1db9cb0c65

View File

@ -2,6 +2,9 @@
require("include/top.php");
$logos_path = 'gfx/logos/';
$logofile = $_FILES['logofile']['tmp_name'];
$logofile_name = $_FILES['logofile']['name'];
unset($submitok);
// check the submitted data
//if($sshotfile&&($sshotfile!="none"))