File Uploading in PHP

In core PHP i am making a form it include file uploading option but i have created two choose file option when i choose file to both button then only last button image goes to the folder not goes to both files why...simply i want to add 2 choose file button and when user use both button then both file could be goes into the upload folder...

Showing Answers 1 - 2 of 2 Answers

devesh tiwari

  • Jan 1st, 2015
 

You have used the same name for both the files. Hence it by default replaces the file to the name when goes to next page.

Anchal

  • Jul 19th, 2015
 

$_FILES["fileToUpload"]["name"]

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions