Hi.
I'm using this to create a "User folder" on user registration, and add it to the HFS tree as real, and add it to the user's redirect folder.
{.if|{.and|{.and|{.?username.}|{.?password.} /and.}|{.?password2.} /and.}|{:
{.if|{.=|{.?password.}|{.?password2.}.}|{:
{.chdir|C:\Documents and Settings\Chris\Desktop\website\Users\ .}
{.mkdir|{.?username.} .}
{.add folder|real|C:\Documents and Settings\Chris\Desktop\website\Users\{.?username.}\|Users\{.?username.} .}
{.new account|{.?username.}|password={.?password.}|enabled=yes|redirect=/Users/{.?username.}/ /new account.}
{.chdir|C:\Documents and Settings\Chris\Desktop\website\ .}
{.save|/Users/users.txt|{.?username.}
{.load|/Users/users.txt.}/save.}
{: <script language="JavaScript" type="text/javascript"> window.location="~login"; </script> :}
:} /if.}
:} /if.}
So basically, it makes the new user's folder onto the harddrive, then adds that folder to HFS as real, then creates the user's account, then adds the users name to a list, and finally asks the user to login and redirects them to their folder.
I want to know if I can make the folder locked, and only accessible by the new user. (and maybe add upload privileges)
And, when I add the folder to HFS, I have it to add it to "Users\{.?username.}" but it's always added to the root.
Also, can I have it to copy an index file to their new folder?
Thanks, and sorry for all the questions.