Jump to content

[SOLVED] upload script help


adam291086

Recommended Posts

within my upload script i have the line

 

 if(move_uploaded_file($_FILES['file'$i]['tmp_name'], $target)) ;

 

this move the uploaded file to my destination. I am having trouble stating the file name $_FILES['file'$i]

 

This is because the user has the option to choose how many files they up load. Therefore i need the name to be file and the value from $i. $i represents a number which comes from the users when they choose how many files they want to upload.

Link to comment
https://forums.phpfreaks.com/topic/122548-solved-upload-script-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.