----------------------------------------';
print '
userfile,name array : ' ;
print $_FILES['userfile']['name'];
print '
userfile array : ' ;
print $_FILES['userfile'];
print '
name array : ' ;
print $_FILES['name'];
print $_FILES['userfile1']['name'];
print $_REQUEST['userfile1'];
//print $_REQUEST['userfile'];
print "
"; if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadFile)) { print "File is valid, and was successfully uploaded. "; print "Here's some more debugging info:\n"; print_r($_FILES); } else { print "Possible file upload attack! Here's some debugging info:\n"; print_r($_FILES); } print ""; ?>