Re: [PHP-DB] Problem of Upload media file

2005-11-17 Thread Mohamed Yusuf
Many thanks for your help. it works. On 11/17/05, Micah Stevens <[EMAIL PROTECTED]> wrote: > > > No. It's not okay.. you're already in the music directory.. if you want it > in > the media subdir, just put 'media/' > > > > On Thursday 17 November 2005 10:40 am, Mohamed Yusuf wrote: > > so should I

Re: [PHP-DB] Problem of Upload media file

2005-11-17 Thread Micah Stevens
No. It's not okay.. you're already in the music directory.. if you want it in the media subdir, just put 'media/' On Thursday 17 November 2005 10:40 am, Mohamed Yusuf wrote: > so should I change the directory? > where I want to upload file is > www.somalilyrics.com/music/media/

Re: [PHP-DB] Problem of Upload media file

2005-11-17 Thread Mohamed Yusuf
so should I change the directory? where I want to upload file is www.somalilyrics.com/music/media/, therefore what about if I say *$uploadDir = 'music/media/'; *is that fine? if it is not fine would you please show me how I have to do it? On 11/17/05, Mic

Re: [PHP-DB] Problem of Upload media file

2005-11-17 Thread Micah Stevens
Well, the error doesn't match the code, but the code says to upload the file to: /home/somally/public_html/music/www/media/ Is that correct? On Thursday 17 November 2005 9:41 am, Mohamed Yusuf wrote: > here is the complete code, so you can check it >

Re: [PHP-DB] Problem of Upload media file

2005-11-17 Thread Mohamed Yusuf
here is the complete code, so you can check it File uploaded"; } ?> end On 11/17/05, Micah Stevens <[EMAIL PROTECTED]> wrote: > > > Keep in mind you're referring to a filesystem path, and a relative

Re: [PHP-DB] Problem of Upload media file

2005-11-17 Thread Micah Stevens
Keep in mind you're referring to a filesystem path, and a relative one to boot, so what you're telling php is, that your upload directory is: /home/somally/public_html/music/music/media/ Which doesn't sound like what you intend. Also don't trust the php line numbers if you have significant wh

Re: [PHP-DB] Problem of Upload media file

2005-11-17 Thread Mohamed Yusuf
: Mohamed Yusuf <[EMAIL PROTECTED]> > >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,

RE: [PHP-DB] Problem of Upload media file

2005-11-17 Thread Bastien Koert
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 <[EMAIL PROTECTED]> 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

[PHP-DB] Problem of Upload media file

2005-11-17 Thread Mohamed Yusuf
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 refe