ne else on this
thanks
L H
- Original Message -
From: Me
To: Luinrandir Hernson
Sent: Sunday, June 03, 2001 1:33 AM
Subject: Re: Counter problem
I think I just spotted why it isn't working.
You are using a line something like:
Right?
You need a space
Luinrandir Hernson wrote:
> ## opens, reads number of hits and closes the file acording to the web page its
>called from.
> open(FILE,"/home/homepage/cgi-bin/data/$file");
> flock (FILE, 2);
> $count = ;
> flock (FILE, 8);
> close(FILE);
>
> ## adds a hit to the variable
> $count++;
>
> ## open
> he says the program is not even being run because
> of the problem in the code abort the whole thing.
Then I suggest you execute the perl code at a
command prompt and see what you get.
: Johnathan Thibodeau
To: Luinrandir Hernson
Cc: [EMAIL PROTECTED]
Sent: Saturday, June 02, 2001 11:35 PM
Subject: Re: Counter problem
On Sat, 2 Jun 2001, Luinrandir Hernson wrote:
> the command that calls this is
>
Maybe one of the techs at your provider got smart and dissabl
: Re: Counter problem
On Sat, 2 Jun 2001, Luinrandir Hernson wrote:
> the command that calls this is
>
Maybe one of the techs at your provider got smart and dissables the SSI
exec command altogether. The less processes running, the better it is for
security and performance in g
On Sat, 2 Jun 2001, Luinrandir Hernson wrote:
> the command that calls this is
>
Maybe one of the techs at your provider got smart and dissables the SSI
exec command altogether. The less processes running, the better it is for
security and performance in general.
Try using
instead, altough yo
PROTECTED]
Sent: Saturday, June 02, 2001 11:00 PM
Subject: Re: Counter problem
> it WAS working..
What does it do now?
> it WAS working..
What does it do now?
Something is wrong with this code
it WAS working..
This code is suposed to work from any of my web pages
and count the number of hits to each web page.
the command that calls this is
Just substitute your homepage for the "homepage" throughout the program
#!/usr/bin/perl -w
#
##gets the nam