Hello, I've been looking at upload image tutorials for a while now and I could really use some help:
I am gettng the error:
Warning: move_uploaded_file(/path to folder/rcnewdblock.txt) [function.move-uploaded-file]: failed to create stream: Permission denied in /path to folder/rc/upload.php on line 14
I did chmod 777... still getting the error.
heres my upload.php
<?
If ($userfile== "none"){
echo "No File Specified" ;
exit;
}
if (move_uploaded_file($userfile, "/path-to-folder/rc".$userfile_name)){
echo "Your File Has Been Uploaded.";
} else { echo "Could Not upload File.";
}
?>
help would be appreaciated; here one of the many tutorials I've reviewed..
http://www.php.net/manual/en/function.move-uploaded-file.php
Thanks,
~cherylw