Re: Counter problem

2001-06-03 Thread Luinrandir Hernson
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

Re: Counter problem

2001-06-03 Thread Christian Campbell
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

Re: Counter problem

2001-06-02 Thread Me
> 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.

Re: Counter problem

2001-06-02 Thread Luinrandir Hernson
: 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

2001-06-02 Thread Luinrandir Hernson
: 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

Re: Counter problem

2001-06-02 Thread Johnathan Thibodeau
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

Re: Counter problem

2001-06-02 Thread Luinrandir Hernson
PROTECTED] Sent: Saturday, June 02, 2001 11:00 PM Subject: Re: Counter problem > it WAS working.. What does it do now?

Re: Counter problem

2001-06-02 Thread Me
> it WAS working.. What does it do now?

Counter problem

2001-06-02 Thread Luinrandir Hernson
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