Try useing the absolute path. your best bet, go to hotscripts.com and
find an upload script from there.
--- In [email protected], Grant Harrington <[EMAIL PROTECTED]> wrote:
>
> That's what I did. Line 25 as mentioned in the original question is
> where you are referring, right?
>
> Isn't uploads/ pointing to the uploads in the directory the php
> script resides? I want it to upload to a directory outside of there,
> that's why I thought the absolute path is what I need.
>
> Thanks
>
> On Jan 27, 2008, at 1:41 PM, shaggy2dope2126 wrote:
>
> > try changing move_uploaded_ file($_FILES[ "file"]["
> > tmp_name"],"upload/" . $_FILES["file" ]["name"] );
> > to move_uploaded_file($_file($_FILES["file"]["tmp_name"],"whereever/"
> > . $_FILES["file"]["name"]);
>
>
>
> [Non-text portions of this message have been removed]
>