the permissions are right, I mean they are all setted to 777. On 11/17/05, Bastien Koert <bastien_k@xxxxxxxxxxx> wrote: > > Check your permissions on the folder...you may need to make them 777 to > allow read/write by all for the upload > > Bastien > > > >From: Mohamed Yusuf <myainab@xxxxxxxxx> > >To: php-db@xxxxxxxxxxxxx > >Subject: Problem of Upload media file > >Date: Thu, 17 Nov 2005 08:58:15 -0800 > > > >I am trying to upload music file to server using php and saving file path > >to > >the MySql, But I am getting this error message "*Warning*: > >move_uploaded_file(music/media/): failed to open stream: No such file or > >directory in */home/somally/public_html/music/upload2.php* on line *36*". > > line 36 is reference of this code *$uploadDir = 'www/music/media/';* > > so what am I missing?, any help? > > >