I am having a slight problem with the multiple file upload plugin,
found here:
http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Support

Here is my HTML form:

    <form id="uploadForm" enctype="multipart/form-data"
action="upload.php" method="POST" class="edit">
   <fieldset>
            <legend>Your file</legend>
                <ol>
                    <li>
                        <label for="choosefile">Choose an image to
upload:</label>
                                <input type="file" class="multi"
name="images[]">
                    </li>
                </ol>
        </fieldset>
        <input type="submit" name="submit" value="Send" />
    </form>

And here is upload.php:

<?
session_start();
$files = $_POST["images"];
print_r($files);
?>

As you can see I am just trying to test out the processing of the
files, but I get an error on line 3:

Notice: Undefined index: images in c:\Inetpub\wwwroot\356\dackerma
\Project2\upload.php

Why am I getting this error? I named the input field correctly, and
included all of the files.

Reply via email to