I am getting this error and I don't understand. I am running PHP 4.0.4 and Xitami web
server on Windows 98SE. I know this is not the most ideal setup, but I just use it for
developing.
Warning: Unable to create 'd:\sites\merchantpower\mp\images\': Permission denied in
d:/sites/MerchantPower/mp/admin/add_record2.php on line 49
Do I need to set permissions somewhere? I have no idea where...maybe the web server?
It's like the file never gets to the temp directory.....
I'm lost.....
Here's the code:
if (is_uploaded_file($picture)) {
copy($picture, $new_path);
//move_uploaded_file($picture, $new_path);
} else {
echo "Possible file upload attack: filename '$picture'.";
}
}
Any help would be greatly appreciated...
-Shane