You have to chmod that directory (not needed for FTP of course)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Renzi, Sebastian [mailto:[EMAIL PROTECTED]]
Sent: Friday, March
From: "Kilian" <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 7:28 PM
> The user the webserver process runs under may not have the permission to
> upload the file. In many cases, the webserver runs as nobody. Thus, if you
> want to upload a file, nobody needs write-access to the directory in
Sebastian,
Apache is running as a user, usually nobody:nobody, or sometimes www:www.
That user is trying to move the file when you do the move in php. When you
login through an ftp client, a different user is doing the move (you). You
need to make sure that the user nobody has enough permissions
John Almberg <[EMAIL PROTECTED]> wrote:
[...]
> Someone else suggested
> that I use an
> HTML 'upload', but I can't find anything about this in my HTML
> documentation.
-- Kilian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Renzi, Sebastian <[EMAIL PROTECTED]> wrote:
> Hello again ! , i have a script that uploads a file , when i use the
> function move_uploaded_file() an error raises ,"Permission denied ."
> ,but if i upload the same file thru an ftp client it works correctly !
The user the webserver process ru
Hello Sebastian,
What a timely posting! I am trying to figure out how to allow a user (using
any internet-connected pc) to upload a file to my PHP-enabled server. I am
trying to use PHP and the FTP functions, but can't figure out how to address
the file on the user's machine. Any hints from anyon
6 matches
Mail list logo