RE: [PHP-DB] Problem of Upload media file
| From: | Bastien Koert | Date: | Thu, 17 Nov 2005 17:02:30 +0000 |
| Subject: | RE: [PHP-DB] Problem of Upload media file | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40678@lists.php.net to get a copy of this message | ||
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@gmail.com> To: php-db@lists.php.net Subject: [PHP-DB] 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?