Hello, Lisa Nyman wrote:
> (unless of course you have a script users run which does this by intent).
I do, I have sites to which users post updates and which then backup, rebuild and
regenerate themselves with staged copies.
--
Dr. John Griffiths \( ~ )7 The Teahouse of Experience
MAILTO:[E
Hi,
On Wed, 5 Dec 2001, John Griffiths wrote:
> I agree, I make & update static web site pages routinely, using the
> methods recommended in other posts to this thread, but rather than
> flocking files I write the new copy in a 'safe' place and then make a
> copy of it on the web server. This
Hi, long time lurker here, appreciate the list's work, noticed that
Stephan Tinnemeyer wrote:
> You should, however, make use of the OS's file lock mechanism
> (if there is any) to prevent two instances of your script (which may be
> started by a web user?) from concurrent access to the file.
I
Richard,
why do you want to redirect the output? Your script can write directly
to a file. You should, however, make use of the OS's file lock mechanism
(if there is any) to prevent two instances of your script (which may be
started by a web user?) from concurrent access to the file.
Cheers
Ste
On Wed, 5 Dec 2001, Richard S. Crawford wrote:
> Long time reader, first time writer here...
>
> For a personal project, I would like to use Perl to generate static HTML
> pages. Can the output of CGI be redirected to a file which can be read
> later by a browser? What is the best way to approa
Sure, Something like this:
open(DAT, ">index.html" || die ("Cant Open the file");
print DAT "PAGE";
print DAT "Some more stuff here";
close DAT;
Regards,
Andre` C.
Technical Support
Ô¿Ô¬
-
Visit our support manual at h