Let's start with your actual upload page...
Do you have a form that looks something like this?
<form action="" method="post" enctype="multipart/form-data" name="images" id="images1">
<label> </label>
<h2>Image Filename to Upload:
<input type="file" name="images" id="images">
</h2>
<input name="Submit" type="submit" id="Submit" value="Submit">
<input name="Reset" type="reset" id="Reset" value="Reset">
</form>