RE: [PHP] weird upload problem

From: Date: Wed, 12 Jan 2005 11:14:16 +0000
Subject: RE: [PHP] weird upload problem
Groups: php.general 
Request: Send a blank email to php-general+get-206163@lists.php.net to get a copy of this message
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm > -----Original Message----- > From: Sebastian [mailto:sebastian@broadbandgaming.net] > Sent: 12 January 2005 01:59 > <form action="/" enctype="multipart/form-data" > method="post"> > 1: <input type="file" name="image[]"><br /> > 2: <input type="file" name="image[]"><br /> > 3: <input type="file" name="image[]"><br /> > 4: <input type="file" name="image[]"><br /> > 5: <input type="file" name="image[]"><br /> > 6: <input type="file" name="image[]"><br /> > <input name="submit" type="submit" value="submit"> > </form> > > > if (isset($_FILES['image'])) > { > $number = 0; > for ($i = 0; $i < count($_FILES['image']); $i++) foreach ($FILES['image'] as $i=>$imagefile) Solves both problems. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#206163) next »