|
Posted by Fire Juggler on 07/02/05 02:17
Hi, Thanks for the help, i tried what you said, but still no luck. why
/tmp/x-tract/music/ ?
Thanks
--
Kathryn (Fire Juggler)
http://www.firejugglers.34sp.com
http://www.cornwalljugglers.co.uk
"Markus L." <nobody@project-sca.org> wrote in message
news:pan.2005.07.01.21.09.20.827284@project-sca.org...
> Am Fri, 01 Jul 2005 19:43:01 +0100 schrieb Fire Juggler:
>
> > I have a folder called x-tract and in that folder i have a folder called
> > admin and music.
> > while in the admin folder i want to upload a file to the music file.
i;ve
> > tried
> > copy($_FILES['musicfile']['tmp_name'],
> > "../music/".$_FILES['musicfile']['name']); ?> this does not work.
> > any ideas?
> >
> > thanks
>
> Use absolute path names:
>
>
copy($_FILES['musicfile']['tmp_name'],"/tmp/x-tract/music/".$_FILES['musicfi
le']['name']);
>
> --
> -------------------------------------------------------
> Try this: SCA the Smart Class Archive for PHP
> http://www.project-sca.org
> -------------------------------------------------------
>
Navigation:
[Reply to this message]
|