When i try to upload a file i receive the error below.
copy(docs/dominant.jpg): failed to open stream: Permission denied in /srv/www/htdocs/docs/add_records.php on line 364
What the above means?
File or folder permissions not set?
Probably need to chmod the dir you're copying to.
That directory is owned by the default apache user (wwwrun)
I am wondering where http sends the file during uploading (before it is put in the destination directory (docs/)
i am having the same problem as you.....what permission should you set it to???
i have mine on 777 on the server at the moment, and it still passing no files!!!......
eeek...
help!!
Well, try that
mkdir($dir, 0700);
That was the problem for me!