FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: sixthcrusifix on January 30, 2007, 12:55:18 AM

Title: Permission Denied, We can't make image upload forms???
Post by: sixthcrusifix on January 30, 2007, 12:55:18 AM
Okay, I figured out my old problem. Chmod permissions. What I don't get, why an image upload script works on one part of my site and not another. I've literally chmoded every single part of my site to 777 and I'm getting this:

Warning: copy(/fpgs/fpgshttpd/sixthcrusifix/home/images/artwork/digital/1170121693cool.jpg) [function.copy]: failed to open stream: Permission denied in /fpgs/fpgshttpd/sixthcrusifix/editor/process.php on line 161
Title: Re: Permission Denied, We can't make image upload forms???
Post by: bonehead on January 30, 2007, 04:28:14 AM
Only chmod scripts to the least they can work with. 755 is a good chmod use 644 for scripts that just get called. chmod folders and files that get written to, to 777

I learned this the hard way :)
Title: Re: Permission Denied, We can't make image upload forms???
Post by: lotsofish on February 09, 2007, 07:16:15 AM
Are you using enctype='multipart/form-data' ?

Title: Re: Permission Denied, We can't make image upload forms???
Post by: bonehead on February 09, 2007, 09:05:30 AM
What does that have to do with php scripts? that is html...