PHP File Uploading fail
===

I'm trying to create a script that would allow the user to upload images onto the server. I've implemented the script,though once I tried to upload an image, the script follows through but no image appears on the server. Any ideas?

PHP:

    <?php
         require_once("connect.php");

         $allowedExtensions = array("jpg", "jpeg", "gif", "png");
         $extension = end(explode(".", $_FILES["file"]["name"]));
	
         if((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"]=="image/pjpeg")) && ($_FILES["file"]["size"] <= 102400) && in_array($extension, $allowedExtensions)) {
	            if($_FILES["file"]["error"] > 0) {
                       $fileUploadFail = true;	
                 }
                 else {
                      move_uploaded_file($_FILES["file"]["tmp_name"], "uploadImages/" . $_FILES["file"]["name"]);
                 }
         }
         else {
               $fileUploadFail = true;
         }
	
         if($fileUploadFile) {
              header("Location: uploadArt.php");
         }
         else {
              header("Location: viewArt.php");
         }
    ?>

HTML:

    <form id = "uploadDesigns"  enctype="multipart/form-data" name="Upload" method="post" action="fileUpload.php" >
    <label for="title">Enter name of design:</label><input type = "text" id = "title" name = "title" size="50"><br /><br />
    <label for="image">Upload image:<br />(max 100KB)</label> <input type = "file" id = "image" size = "51" name = "image"><br /><br />
    <label for="description">Description:</label> <textarea id = "description" name = "description" rows = "4" cols = "20"></textarea><br /><br />
    <button type="submit">Submit Art</button>
    </form>

Thanks!