Re: mkdir()

From: Date: Sat, 09 Nov 2002 02:15:23 +0000
Subject: Re: mkdir()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123531@lists.php.net to get a copy of this message
The problem is that your webserver is not running as "you"...it's running under a common user (probably nobody or apache) and that user does not--and cannot--have access to your folder for security reasons. You can try creating the directory through ftp via PHP. Marco -- ------------ php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers On Fri, 2002-11-08 at 21:11, Edward Peloke wrote: > I have been using the mkdir function sucessfully on my windows test machine, but when I uploaded my pages to my hosting server (which is linux) I get a permission error when the mkdir function is called. I know I can create directories because I can do it fine when I am using ws-ftp uploading pages...any ideas? Here is the mkdir call.. > > mkdir("$uname",0777); > > Thanks, > Eddie

« previous php.general (#123531) next »