Hi Lawrence,
Lawrence Statton wrote on 15.12.2004:
>
>
>Here's a trivial example to get you started
>
>#!/usr/bin/perl
>use strict;
>use warnings;
>
>use CGI;
>
>my $query = new CGI;
>
>print $query->header(-type => 'text/plain',
> content_disposition => 'attachment; filenam
Hi,
I have some content stored within a database, which I want to be saved as a
file on the user's system when requested. Currently, I generate a temporary
file (timestamp_fileid.tex) and use a cron job to clean up the directory every
30 minutes:
if ($texcontent) {
my $texfile = texer(
> Hi,
>
> I have some content stored within a database, which I want to be saved as a f
> ile on the user's system when requested. Currently, I generate a temporary fi
> le (timestamp_fileid.tex) and use a cron job to clean up the directory every
> 30 minutes:
Using timestamp is a poor technique
Lawrence Statton wrote on 15.12.2004:
>>Hi,
>>
>>I have some content stored within a database, which I want to be
>>saved as a f ile on the user's system when requested. Currently, I
>>generate a temporary fi le (timestamp_fileid.tex) and use a cron
>>job to clean up the directory every 30 minutes