Re: [PHP] upload problem (uid)

2001-04-11 Thread b0ld b0lb
CC: <[EMAIL PROTECTED]> >Subject: Re: [PHP] upload problem (uid) >Date: Tue, 10 Apr 2001 16:15:48 -0700 (PDT) > >Are you sure it is uid 0? Unless your Apache is running as root it should >be getting uploaded as the web server uid id. Use the >move_uploaded_file() function to m

Re: [PHP] upload problem (uid)

2001-04-10 Thread Rasmus Lerdorf
Are you sure it is uid 0? Unless your Apache is running as root it should be getting uploaded as the web server uid id. Use the move_uploaded_file() function to move the file into place. -Rasmus On Wed, 11 Apr 2001, b0ld b0lb wrote: > Hi, > > if i upload via http the tempfile is written with

[PHP] upload problem (uid)

2001-04-10 Thread b0ld b0lb
Hi, if i upload via http the tempfile is written with uid 0 (root). After that i cant do anything with the file because the php user is not allowed to. Why is my uploaded file owned by root, and how do i solve that? PS. phpinfo shows that the apache user is nobody thx, b0ld