Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: uploading multiple files


Message #1 by "arun" <arun@l...> on Sat, 15 Jun 2002 17:06:27 +0530
arun wrote:

>
> Is there a way for me to upload multiple files without using more that one
> file input type box?
> 

No. The browser has to encode the form data for transfer to the server. 
In the case of file upload the form data includes the contents of the 
file. Use of <input type="file"> tells the browser to encode the 
contents of the file and bundle it with the rest of the form data. Any 
other input type and the browser will just transmit the name of the file 
and not it's contents.

-- 
Sheila Fenelon
http://www.shefen.com/
CGI and Database Programming


  Return to Index