Cannot use [] for reading...
| From: | Philip Diller | Date: | Tue, 27 Jun 2000 14:01:25 +0000 |
| Subject: | Cannot use [] for reading... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3333@lists.php.net to get a copy of this message | ||
Hopefully someone's run into this and figured it out...
HTML that worked perfectly fine in PHP 3.0.13:
<form action="/scripts/process.php" method=post
enctype="multipart/form-data">
... (lots snipped)
<input name="file[]" type="file" size="35" value="<? echo
$file[]?>"><br>
<- (line 43)
...
now yields:
Fatal error: Cannot use [] for reading in
/usr/local/apache/htdocs/fftc/library/admin/add_bulletin.html on line 43.
What's the proper syntax for multiple file uploads?
Philip