RE: [PHP] Re: Windows to Linux -- Issues with mkdir()function and picture uploading
| From: | Ryan Schefke | Date: | Sun, 30 May 2004 18:51:58 +0000 |
| Subject: | RE: [PHP] Re: Windows to Linux -- Issues with mkdir()function and picture uploading | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187243@lists.php.net to get a copy of this message | ||
Thomas, thanks, that worked perfectly!
-----Original Message-----
From: Thomas Seifert [mailto:thomas-lists@myphorum.com]
Sent: Sunday, May 30, 2004 2:32 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Windows to Linux -- Issues with mkdir()function and
picture uploading
Ryan Schefke wrote:
> The above behavior is on the Linux machine. Now, I run the same script on
> my windows box and it works perfectly.
windows has (afaik in its default settings) no good file-permissions.
the php-scripts usually run as the user the webserver runs as ...
so the webserver-user has to have write-permissions on the directory it
needs to write to.
so either chown (change the owner) or chmod (change the permissions to
be writable for the group or even other if needed) the directory.
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php