Mateobus Posted February 15, 2007 Share Posted February 15, 2007 Hello all, I am getting the following error when i run my script on my school's given webspace: Warning: copy(files/1171413168.jpg) [function.copy]: failed to open stream: Permission denied I am assuming that this means that the folder permissions aren't set to the correct settings. For our project we have to keep the main directory set at 711. Can I have a directory inside of the main directory set to something else that would allow me to upload files from the web? If so, what does it need to be set to? I am not too familiar with folder permission so any help is appreciated. Quote Link to comment Share on other sites More sharing options...
spfoonnewb Posted February 15, 2007 Share Posted February 15, 2007 Yes you can have a directory inside, you will probably need to set it to 0777, or 777. Quote Link to comment Share on other sites More sharing options...
Mateobus Posted February 15, 2007 Author Share Posted February 15, 2007 Id like to buy you a coke spfoonnewb, thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.