Re: multi file upload in php4
| From: | (Richard Lynch) | Date: | Sat, 10 Jun 2000 00:51:12 +0000 |
| Subject: | Re: multi file upload in php4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1527@lists.php.net to get a copy of this message | ||
In article <B5615DDB.4A5E%jeff@in2.com>, jeff@in2.com (Jeff Kolber) wrote:
> userfile[0] = foo.gif - (seems ok - this is the name of the file)
> userfile[1] = image/gif - (seems to be the file type)
> userfile[2] = /tmp/php1Nrzxb - (seems to be the location of the temp file)
>
> for multiple files this pattern continues - userfile[3] , [4], and [5] would
> be the name, type and temp location of the second file in the array. This
> is inconsistent with the documentation.
>
> Is this the way php4 handles the uploads? and is there a way to get the
> filesize of the uploaded file?
echo filesize($userfile[2]);
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)