Re: [PHP] How do you make a directory

2002-07-23 Thread Jason Wong
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

Re: [PHP] How do you make a directory

2002-07-23 Thread Tech Support
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.

RE: [PHP] How do you make a directory

2002-07-23 Thread Roger Lewis
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