You are here: RE: [PHP] weird upload problem « PHP « IT news, forums, messages
RE: [PHP] weird upload problem

Posted by Mike Ford on 10/14/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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация