RE: Problem of Upload media file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux