change the folder  permission to 0777


 
2009/9/17 I. Ati <mueni0@gmail.com>
i have a folder i have created in

 /var/www/

called uploads

in my serve(fedora) .....this folder i want to put my uploaded content  from my web service .......

i have done the following:
su

chown githinji/var/www/uploads

but i keep getting the following error when trying to upload content to the server

Warning: move_uploaded_file(/var/www/uploads/song_1253182839.PNG) [function.move-uploaded-file]: failed to open stream: Permission denied in /var/www/html/tes/jamms6/library/Music.php on line 46

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpNwzvTj' to '/var/www/uploads/song_1253182839.PNG' in /var/www/html/tes/jamms6/library/Music.php on line 46
Unable to upload song

gosh any ideas ,

thanks



--
http://xkcd.com/154/

_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science:  http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi:     http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general