>>>>> "Allison" == Allison Davis <[EMAIL PROTECTED]> writes:

Allison> Can anyone tell me if I can include in my script an option to
Allison> right the results of the form to an an individual txt file
Allison> for each person filing out the form, so I will have
Allison> individual text files on our server until I delete them.  We
Allison> are accepting applications on the web and I want individual
Allison> files for each applicant.

If you're on Unix (and you didn't say if you are), you can open
a file that depends on both $$ and "time", as in:

        open RESULT, ">result.$$.".time or die ...;

This will result in a unique filename even if multiple processes are
hitting it at once.  Unless you happen to have 30,000 submissions a
second. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to