I'm testing an image upload on wampserver2 and getting these errors:
Warning: move_uploaded_file(../uploads/test.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\wamp\www\upload_image.php on line 28
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\wamp\tmp\php8F47.tmp' to '../uploads/test.jpg' in C:\wamp\www\upload_image.php on line 28
The below is the code that it is refering to:
if (move_uploaded_file ($_FILES['upload']['tmp_name'], "/images/{$_FILES['upload']['name']}")) {
echo '<p><em>The file has been uploaded!</em></p>';
}
I'm on windows vista and I have full control on my folders images and tmp.