note 13393 deleted from features.file-upload by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 20:33:53 +0000 |
| Subject: | note 13393 deleted from features.file-upload by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25356@lists.php.net to get a copy of this message | ||
dharana,
why dont you let HTML fill the array for you? On the second page, loop through the number of files
they want to upload and something like:
<form enctype="multi....etc..
<?
for( $i=0; $i<$num; $i++ )
{
echo "stuff..";
echo "<input type="file" name="userfile[]">\n";
echo "more stuff..";
}
</form>
that way.. after they enter in all of the files, the filenames will be stored into the userfile[]
array and ready for opening. Does that work for files like it does text boxes, etc? I'm not
sure, this is just off of the top of my head.