You are here: Uploading more than one file « PHP « IT news, forums, messages
Uploading more than one file

Posted by "Shaun" on 10/09/46 11:32

Hi,

I have a form on my page that has many file input fields:

<tr>
<td>File A:</td>
<td><input type="file" name="file_a"></td>
</tr>
<tr>
<td>File B:</td>
<td><input type="file" name="file_b"></td>
</tr>
....

I have looked on php.net and there is a way to upload an array of files but
one would need to make the name of all the input fields are the same. I need
to make sure that the file uploaded is correct by comparing the file name to
the value requried by the form field name. Is there a way around this?

Thanks for your help.

Shaun

 

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

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