I use an HTML form to parse data to a perl script. While I'm able to display that data in any browser i.e. print param('size');, I can't write the param data to an external file. I tried several things, for example:
my $upname = "test.txt";
open (File, ">$upname" || die "Error opening file $upname");
print File param('size');
my $var = param('size');
print File $var;
$var = "this works";
print File $var;
close (File);
The only data that prints to the file is when I have $var = "this works".
This is ONLY happening on our local server (IIS server - windows2000). I have other perl script programs using the same type of code on our website (remote hosted)!
Is this a configuration problem on my local server???
Thanks
my $upname = "test.txt";
open (File, ">$upname" || die "Error opening file $upname");
print File param('size');
my $var = param('size');
print File $var;
$var = "this works";
print File $var;
close (File);
The only data that prints to the file is when I have $var = "this works".
This is ONLY happening on our local server (IIS server - windows2000). I have other perl script programs using the same type of code on our website (remote hosted)!
Is this a configuration problem on my local server???
Thanks