In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Randal L. Schwartz) wrote:
> >>>>> "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 is fine until you start using something like mod_perl
where the process is persistent (as you know, Randal ;).
i much prefer some sort of hash of the user data or a
unique login name. this has the added advantage of using
semi-descriptive filenames. :)
--
brian d foy <[EMAIL PROTECTED]> - Perl services for hire
CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html
Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]