here is the error:
Warning: SAFE MODE Restriction in effect. The script whose uid is 522 is not 
allowed to access /tmp/phpupload/phptQdi31 owned by uid 0 in 
upload_in_imgs.php3 on line 127


>From: Rasmus Lerdorf <[EMAIL PROTECTED]>
>To: b0ld b0lb <[EMAIL PROTECTED]>
>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 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 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
> >
> >
> > 
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.com.
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to