I'm trying to upload a file to server on local machine which is Apache on windows xp.
I'm getting error:
Warning: Unable to open '' for reading: Permission denied in c:\program files\apache group\apache\htdocs\smokinglungs\man_imagesresolve.php on line 16
Does anyone know how to apply permissions on Windows machine? Is there a way? GRRRR
Thanks for any help! Code is below.
<?php
$uploaddir = "../smokinglungs/articleimages";
$userfile = $_FILES["userfile"];
copy ($userfile, "../smokinglungs/$userfile"); //line 16
?>