I was wondering if it is possible for php to create a html file and directory.
What I have is a website, and I would like so that when users are registered, they get their own directory and an index.htm file inside which just holds some information about them.
eg. PHP creates a directory
http://www.mydomain.com/users/$username
then puts a default html file in it
index.htm
which will contain there info.
I know how to do everything, but the creating directory and html file.
I've checked the filesystem functions at php.net, but no luck.
Is it possible to do this?
Any help much appreciated!
Thanks