Re: [PHP] upload problem (uid)
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]
[PHP] upload problem (uid)
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]
Re: [PHP] Good Free PHP Editor?
UltraEdit-32 does show the whole filename. I wonder what version u have... >From: Dennis Gearon <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [PHP] Good Free PHP Editor? >Date: Tue, 13 Mar 2001 08:52:05 -0800 > >I have tried many editors on windblows for php. > >UltraEdit-32 is good, but it doesn't show the whole filename, just the >msdos version of the filename. Hard to hunt for files that have same >name almost. > >So I didn't bother with it after that. > >I use EditPlus-2. Has built in FTP. Almost beyond complaint, except it >won't let you 'save as' to a different remote file name if the file is >already a remote file. Other than that, works fine. > >It's only 39.00. If you want do download it every 3 days, no problem. > >Did I forget to mention that Ultra-32 puts values in your registry that >prevent you from reusing a new or old copy of the demo download? They >didn't put much time into the naming of these 'trigger' variables, so >you can't find them and remove them, but probably not after I post this >:-) > >-- >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]