Re: Windows to Linux -- Issues with mkdir()function and picture uploading

From: Date: Sun, 30 May 2004 18:31:53 +0000
Subject: 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-187240@lists.php.net to get a copy of this message
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

« previous php.general (#187240) next »