how to upload multile file using enctype=multipart


the form contains some basic txt inforamtion and 5 imge to upload to server .i am having problem ......give me some idea

<input type=file name=fl[] id=fl[]><br>
<input type=file name=fl[] id=fl[]><br>
<input type=file name=fl[] id=fl[]><br>
<input type=file name=fl[] id=fl[]><br>
<input type=file name=fl[] id=fl[]>

in php file you will get array of uploaded files. fl[0], fl[1], fl[2] like that

thx for reply ..but m stuck in jsp problem i can upload one file to server but i dnt knw how to upload multiple file

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.