|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-03-07 21:01 UTC] wies at mailcity dot com
[2000-10-13 23:18 UTC] wies at mailcity dot com
[2000-10-13 23:23 UTC] rasmus@php.net
[2000-10-14 21:47 UTC] wies at mailcity dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 18:00:02 2025 UTC |
The HTML part: <form ENCTYPE="multipart/form-data" action="script.php" method="post"> <input type="file" name="file[]"> <br><input type="file" name="file[]"> <p><input type="submit" value="Upload files"> </form> The PHP part: <? echo "$file_type[0]"; ?> The script should produce something like "image/gif", but instead produces nothing. My configure line: ./configure '--with-mysql' '--with-apache=../apache_1.3.11' '--enable-track-vars' '--with-imap' '--with-pcre-regex' $file[0], $file_name[0], $file_size[0] all work, as well as $file_type on a single-upload form. The problem exists in 3.0.14 as well. I noticed that someone else mentioned this on the Documentation page for multipe uploads, but there doesn't seem to be a previous bug report on the problem.