Re: Upload user account

From: Date: Tue, 13 Mar 2001 22:51:53 +0000
Subject: Re: Upload user account
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43726@lists.php.net to get a copy of this message
----- Original Message ----- From: "Lasse Laurila" <lasse@laurila.net> To: <php-general@lists.php.net> Sent: Tuesday, March 13, 2001 6:07 PM Subject: [PHP] Upload user account > On what user account are PHP uploads handled? I tested the upload script > from PHP docs and it worked fine only if I gave the world write access to > the destination directory (the one I moved the file with > move_uploaded_file() function). > > How should this be done safely? You dont need world writable, the webserver only needs to be able to write in the dir where the file should be, more safely make the webserver user the owner of the dir. -- Henrik Hansen

« previous php.general (#43726) next »