the directory permissions are set to 777 / 0777 any user, any group, etc. at least that is how I understand it. if i'm wrong please correct me, I do appreciate the help thank you.
[EMAIL PROTECTED] wrote: >On Tuesday 29 January 2002 11:10, sundogcurt wrote: > >>Like so? >> >>error message : >>Warning: Unable to create 'sdf.jpg': Permission denied in >>/home/gruesome/public_html/valeriemacwilliam/includes/content/addpic.php >>on line 21 >> >>code : >><? >>if($myfile){ >> if(copy(stripslashes($myfile), $newname . '.jpg')){ >> print "<p>done</p>"; >> }else{ >> print "<p>not done</p>"; >> } >>} >> > > >[snip] > > >You need to change to the permissions of the directory in which you want to >copy the file to, so that it's writable by the 'user' running the webserver. > >