php uploader $_FILES undefined
<p>Hello everyone I been trying get php uploader working but having a lot of issues.  Here is my code.  I'm getting Undefined Index errors on the $_FILES.  Am I missing something?  I checked the php.ini for the max file size and a list of other things.  I checked my tmp folder nothing in it.  I was able to use this a little while ago but when I increased my max file upload it seemed like everything broke..</p>

<p>PHP FILE
    

<pre><code>ini_set('display_errors', 1);
ini_set('log_errors', 1);
error_reporting(E_ALL);

// Where the file is going to be placed 
$target_path = 'Test/';

$target_path = $target_path. basename( $_FILES['uploadedfile']['name']); 

printf($_FILES);
print_r($_FILES);

if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) 
{
    echo "The file ".  basename( $_FILES['uploadedfile']['name']). 
    " has been uploaded";
} 
else
{
    echo "There was an error uploading the file, please try again!";
}

?&gt;
</code></pre>

<p>HTML FILE
    
    </p>

<pre><code>    &lt;form method="post" action="UploadPHP.php" enctype="multipart/form-data"&gt;
    &lt;input type="hidden" name="MAX_FILE_SIZE" value="100000" /&gt;
    Choose a file to upload: &lt;input name="uploadedfile" type="file" /&gt;&lt;br /&gt;
    &lt;input type="submit" value="Upload File" /&gt;
    &lt;/form&gt;


&lt;/body&gt;
&lt;/html&gt; 
</code></pre>

<p>The Error I'm getting</p>

<pre><code>Notice: Undefined index: uploadedfile in /Movies/UploadPHP.php on line 10 
Notice: Array to string conversion in /Movies/UploadPHP.php on line 12 ArrayArray ( ) 
Notice: Undefined index: uploadedfile in /Movies/UploadPHP.php on line 15 
There was an error uploading the file, please try again!
</code></pre>

<p>So I decided to look at some other stuff and now the server wont accept any posts!  I have no idea what went wrong I changed the post size to : 2048M and restarted apache....  So lost now.</p>
