Maybe you should first learn how to upload one file with PHP:
http://de2.php.net/manual/en/features.file-upload.php

and the the multiple way:
http://de2.php.net/manual/en/features.file-upload.multiple.php

Instead of $_POST use $_FILES

On 9 Nov., 23:32, dmackerman <[EMAIL PROTECTED]> wrote:
> 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