good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: simple web counterby extremely (Priest) |
on Sep 15, 2000 at 08:17 UTC ( [id://32622]=note: print w/replies, xml ) | Need Help?? |
I don't know why it doesn't work but I can give you a few things to test. Change the following line so it has a "4" where the "0" is. Does it always return 5 now? That would smell like a DB problem. Probably permissions. $count{$url} = 0 unless exists $count{$url}; Also, are you sure that your ENVironment contains DOCUMENT_URI? Always having a "" for that could be a problem. Minor nit, why is "use strict;" turned off? What error made you do that? Is that or any other error in your webserver logs? --
In Section
Seekers of Perl Wisdom
|
|