spewn
Programmer
- May 7, 2001
- 1,034
if ($url eq 'visanet') {
if ($page eq 'uk') {
my $countfile = " open (COUNT, $countfile);
my $counter = <COUNT>;
close (COUNT);
open (COUNT, ">$countfile"
my $counter += 1;
print COUNT $counter;
close (COUNT);
}
else {
my $countfile = " open (COUNT, $countfile);
my $counter = <COUNT>;
close (COUNT);
open (COUNT, ">$countfile"
my $counter += 1;
print COUNT $counter;
close (COUNT);
}
}
i changed my permissions to 'write' for visitors. nothing happens. no errors on the code.
help please... - spewn
if ($page eq 'uk') {
my $countfile = " open (COUNT, $countfile);
my $counter = <COUNT>;
close (COUNT);
open (COUNT, ">$countfile"
my $counter += 1;
print COUNT $counter;
close (COUNT);
}
else {
my $countfile = " open (COUNT, $countfile);
my $counter = <COUNT>;
close (COUNT);
open (COUNT, ">$countfile"
my $counter += 1;
print COUNT $counter;
close (COUNT);
}
}
i changed my permissions to 'write' for visitors. nothing happens. no errors on the code.
help please... - spewn