Hello,
I am fairly new to PHP and have question about file uploading. I can successfully upload one image. But on my site the user has the choice to upload multiple files. I loop through a SELECT box getting the number of pics they want to upload (i.e. 1,2,3,4, etc.). My issue is how do I reference a texbox object array in the "copy($HTTP_POST_FILES["txtPicFile"]["tmp_name"]" statement?
Would it be something like this:
for($i=0; $i < $picQty; $i++)
{
copy($HTTP_POST_FILES["txtPicFile"]["tmp_name"], "$abpath/$txtPicFile_name")";
}
Thanks,
Joshua Ingram
ingramj@nyc.rr.com