Joe
File Upload Problem (Perhaps CHMOD)
Moderator: General Moderators
File Upload Problem (Perhaps CHMOD)
I have recently made a new upload script for my site but when I test it all I get is a message saying Forbidden, permission denied. I think it has something to do with the CHMOD but im not sure. Any help appreciated!
Joe
Joe
yea, chmod it
You have to have the folder your storing all the files in CHMOD'd to like.. 777... that should do it...
Anything your writing to from the script.. to place the file has to be CHMOD'd.. if your clicking it on your page...
Cause it has to be publicly writable
Anything your writing to from the script.. to place the file has to be CHMOD'd.. if your clicking it on your page...
Cause it has to be publicly writable
Re: yea, chmod it
It would grant everybody all permissions on that foldermonkeyj wrote:You have to have the folder your storing all the files in CHMOD'd to like.. 777... that should do it...
Anything your writing to from the script.. to place the file has to be CHMOD'd.. if your clicking it on your page...
Cause it has to be publicly writable
Re: File Upload Problem (Perhaps CHMOD)
FYI: CHMOD is the Linux command to CHange the MODe of a file, the issue is with the MODE, not the CHMODJoe wrote:I think it has something to do with the CHMOD ...
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.