Undefined index: uploaded_file in C:\wamp\www\upload_test\upload_media_test.php on line 5
<p>Here is my php file</p>

<pre><code>   &lt;?php
    $target_path1 = "uploads/";
    /* Add the original filename to our target path.
    Result is "uploads/filename.extension" */
    $target_path1 = $target_path1 . basename( $_FILES['uploadedfile']['name']);
    if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path1)) {
        echo "The first file ".  basename( $_FILES['uploadedfile']['name']).
        " has been uploaded.";
    } else{
        echo "There was an error uploading the file, please try again!";
        echo "filename: " .  basename( $_FILES['uploaded_file']['name']);
        echo "target_path: " .$target_path1;
    }
    ?&gt;
</code></pre>

<p>May I know how to solve this problem?
<img src="http://i.stack.imgur.com/dTAGA.png" alt="error"></p>
