RE: [PHP] Simple Counter
| From: | PHP Spooky | Date: | Sun, 11 May 2003 16:56:13 +0000 |
| Subject: | RE: [PHP] Simple Counter | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147215@lists.php.net to get a copy of this message | ||
Glory & Supreme Power
Thanks Jason.. I did look around in that PHP Variables sheet and I think
if I were to create the counter program on my own.. it would come very
useful. I'll try that once.
I'm not sure if I'll be able to use the Apache logs as this is for my
website on an Internet Server not owned by me.
Is Webalizer available for free? I know that program but I don't know if
its available or something.
I tried many scripts from hotscripts.com .. but more or less they all
had the problem of having a .php page to display your counter.. whereas
mine is an HTML page and I'll have to use some sort of include or
something. I don't know.. lot to look into. But somehow I didn't get
much satisfaction by the many scripts I tried from hotscripts.com ..
Thanks again..
Supremacy,
PHPSpooky
______________________________________
"If God had wanted me otherwise, He would have created me otherwise."
- Johann Wolfgang von Goethe
-----Original Message-----
From: Jason Sheets [mailto:jsheets@shadotech.com]
Sent: Sunday, May 11, 2003 9:11 PM
To: phpspooky@mjimm.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] Simple Counter
My first tip would be to use the Apache log file (Apache already logs
each hit), there are many log parsing programs such as webalizer
available.
If this is not an option take a look at http://www.hotscripts.com/PHP,
they should have what you are looking for.
Jsaon
PHP Spooky wrote:
> Glory!
>
> I'm looking to work on a very simple counter for my site.. no
graphics,
> just simple counter.. using a mySQL Database.
> I just want to record the number of hits, Country, IP & Referrer.. Any
> tips?
>
> Thanks,
> PHPSpooky
>
> ______________________________________
> "If God had wanted me otherwise, He would have created me otherwise."
> - Johann Wolfgang von Goethe
>
>