On Wednesday 24 July 2002 11:12, Roger Lewis wrote:
> I'm trying to learn to create a directory in php, and from everything I've
> read I created this simple test that I put into the file add_user_dir.php.
> Unfortunately I can't get it to work. I am getting the error message:
>
> Warning: MkDir
How about a trailing slash after the directory name ;-)
like this:
$dirpath = "/home/sites/home/users/demodocs/web/userforum/" . $username;
you had:
$dirpath = "/home/sites/home/users/demodocs/web/userforum" . $username;
which would try to create a new directory inside the web directory.
die("$
On Wednesday 24 July 2002 11:12, Roger Lewis wrote:
> I'm trying to learn to create a directory in php, and from everything I've
> read I created this simple test that I put into the file add_user_dir.php.
> Unfortunately I can't get it to work. I am getting the error message:
>
> Warning: MkDir
3 matches
Mail list logo