Hello all!
I'm trying to make a local copy of my website (using IIS, installed PHP, mySQL, etc.) and am running into file upload errors.
When I do print_r($_FILES) after uploading the file, I get the following:
Array ( [uploadedfile] => Array ( [name] => test.doc [type] => [tmp_name] => [error] => 6 [size] => 0 )
So, error 6, which after some research I figure out means I am missing a temp folder in which to store uploaded files before they are saved to their final destination. So I go in my php.ini file and locate upload_tmp_dir and see it is blank. I set it to " C:\inetpub\wwwroot\uploads" and create the \uploads folder and give it appropriate permissions, expecting this to fix the problem, but no luck, I still get error 6...
Is there something else I need to fix in php.ini? Or is this an invalid way to reference that folder? Or does it need to be another folder?
Thanks...