as the title suggests i am having problems moving an uploaded file from tmp to a specified folder in server directory, here is the code that returns the error.
copy($_FILES[itm_img][tmp_name],"/store/itm_img/".$_FILES[itm_img][name])
or die("Could Not Move File");
this is the error i get when i send the form:
Warning: copy(/itm_img/Bullet.jpg): failed to open stream: No such file or directory in /home/www/mcccgf.hollosite.com/store/add.php on line 82
Could Not Move File
when i echo $FILES [itm_img][tmp_name] and $FILES [itm_img][size] (to verify one has been uploaded to temp. the result suggest the file has been uploaded.
Any idea as to how i can fix this?
-mccwd