Re: Uploading help

From: Date: Wed, 30 Apr 2003 18:34:09 +0000
Subject: Re: Uploading help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145838@lists.php.net to get a copy of this message
Mike - I did copy and it gave me a similar error: Warning: copy(/home/mydir/UPLOADS/TEMP-ing.txt) [function.copy]: failed to create stream: Permission denied in /usr/local/apache/htdocs/Upload.php on line 33 Any ideas - I know that the script owner must be the same as the destination directory...but I tried making them both 'nobody' and 'other'. neither worked.. -V --- Mike <php-digest@custom87.net> wrote: > Try just copying the file instead... > > -Michael > On Wed, 2003-04-30 at 10:24, Vam wrote: > > Can someone explain to me why i'm getting this > error: > > > > Warning: > > > move_uploaded_file(/home/mydir/UPLOADS/TEMP-ing.txt) > > [function.move-uploaded-file]: failed to create > > stream: Permission denied in > > /usr/local/apache/htdocs/Upload.php on line 32 > > > > Warning: move_uploaded_file() > > [function.move-uploaded-file]: Unable to move > > '/tmp/phpTLVzmF' to > '/home/mydir/UPLOADS/TEMP-ing.txt' > > in /usr/local/apache/htdocs/Upload.php on line 32 > > > > > > I'm trying to use move_uploaded_file to move a > file in > > /tmp to a local directory. Its obvious that its a > > permissions issue, but I can't figure out how to > fix > > it. I'm using PHP 4.3/Apache/RH8. > > > > Thanks, > > Vam > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.yahoo.com > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com

« previous php.general (#145838) next »