Gossamer Forum
Home : Products : DBMan : Customization :

Is this possible ??

Quote Reply
Is this possible ??
I like if somebody signes up for a account that automatical a textfile is build that is called like the username. It should be just be a empty textfile.

So if somebody with the username Fred signes up the programm will build the Textfile Fred.txt .

Can anybody HELP me ?
Or is this possible ?

THANX and sorry for my english !
Quote Reply
Re: Is this possible ?? In reply to
Yes, this is possible. Why would you want an empty text file? Anyway, my recommendation is to invest some time looking at more Perl code and try to understand what is happening. To get you on your way, I will say that opening a file that does not already exist will create that file...

------------------
The Immuatable Order of Modding
-=-=-=-=-=-=-=-
1. Read the FAQ, 2. Search the board, 2a. Search the board again, 3. ask the question, 4. back-up, 5. experiment, 6. rephrase question (or better yet, post solution to original question)
Quote Reply
Re: Is this possible ?? In reply to
Thanx! I found would I was looking for and it works.

Maybe somebody could help me now with another problem?!

How can I now insert something in this file?

[This message has been edited by Twistmaster (edited February 20, 2000).]
Quote Reply
Re: Is this possible ?? In reply to
open (FILE, ">>/your/path/to/$username.txt") or die("Error opening $username.txt");
print FILE "your userdata\n";
close FILE;