Gregg O'Donnell wrote:
> Greetings all! I have data that is output from a form.
OK. I assume you mean an HTML form and your script is a CGI script.
> How do I take
> this data, save it as a .txt file, and place this .txt file in
> another location (a different folder, not cgi-bin) on my server?
Greetings all! I have data that is output from a form. How do I take this data, save
it as a .txt file, and place this .txt file in another location (a different folder,
not cgi-bin) on my server? Also, each time a .txt file is created, it should
"overwrite" the previous file ( I assume this is
move failed: $!";
}
closedir(DIR);
Thanks for the help - mainly I want to make sure my code is
"sane" and refined. Your reply was very useful.
Tony
-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11:57 AM
To: [EMAIL PROTECTED]
Subj
Hi Anthony.
Anthony Akens wrote:
> Just want to check and make sure this snippet of code will do what I think it will.
>
> Trying to copy all files from $reportsdir to $oldreportsdir
Well you shouldn't be asking us, as we can make guesses - usually
Very Good Guesses - as to whether it will work,
Just want to check and make sure this snippet of code will do what I think it will.
Trying to copy all files from $reportsdir to $oldreportsdir
my $reportsdir = '/usr2/reports';
my $oldreportsdir = '/usr2/oldreports';
# Move everything from the report directory to the old report directory
opendi
On Wed, Jul 11, 2001 at 10:49:25AM -0500, Tom Yarrish wrote:
> However, on the production box, it doesn't (meaning if today is the 11th,
> the log file will be 20010711.log, which is not what I want). Can anyone
> give me some ideas on why this might be happening?
I can't see anything in your cod
Hey all,
Okay, I have this script that I asked about a few days ago, that allows me
to move some log files and put a date on the filename when they are moved.
This is a script that runs daily (currently) on two machines. One server
is a test server, the other is a backup production server. Now,