|
Posted by Mike Ford on 10/10/56 11:05
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
[Back to original message]
|