Hit Tracker Script

This is a discussion on Hit Tracker Script within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hey all... Here's a short little script I wrote to track visitors to our website. http://www.cabarettheatre.org/...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-21-2004
Chris Dingman
 
Posts: n/a
Default Hit Tracker Script

Hey all...

Here's a short little script I wrote to track visitors to our website.

http://www.cabarettheatre.org/hittracker.phpx

Just save the file and rename it to hittracker.php. Then all you have to do
is include it in your PHP files and edit the path to your log file and
you're all set!

--
Chris Dingman
Webmaster
Cabaret Theatre
http://www.cabarettheatre.org
Now selling officially licensed Cabaret Theatre merchandise


Reply With Quote
  #2 (permalink)  
Old 01-21-2004
Savut
 
Posts: n/a
Default Re: Hit Tracker Script

Nothing special yet, I have see lot like this one, but can I suggest you
something, Instead of writing the date already formated, you should write
the timestamp time(). So if later I want to display the time using another
format, you still can do it. And you forgot to store the current page that
the visitor is visiting. Keep the good work.

Savut

"Chris Dingman" <webmaster@cabarettheatre.org> wrote in message
news:onzPb.3974$ro4.1049@nwrdny02.gnilink.net...
> Hey all...
>
> Here's a short little script I wrote to track visitors to our website.
>
> http://www.cabarettheatre.org/hittracker.phpx
>
> Just save the file and rename it to hittracker.php. Then all you have to

do
> is include it in your PHP files and edit the path to your log file and
> you're all set!
>
> --
> Chris Dingman
> Webmaster
> Cabaret Theatre
> http://www.cabarettheatre.org
> Now selling officially licensed Cabaret Theatre merchandise
>
>



Reply With Quote
  #3 (permalink)  
Old 01-21-2004
Chris Dingman
 
Posts: n/a
Default Re: Hit Tracker Script

For those whose hosts do not allow access to the apache log files.

--
Chris Dingman
Webmaster
Cabaret Theatre
http://www.cabarettheatre.org

Now selling officially licensed Cabaret Theatre merchandise
"Ian.H" <ian@WINDOZEdigiserv.net> wrote in message
news:pan.2004.01.21.19.53.56.406317@hybris.digiser v.net...
> On Wed, 21 Jan 2004 18:17:56 +0000, Chris Dingman wrote:
>
> > Hey all...
> >
> > Here's a short little script I wrote to track visitors to our website.

>
>
> Begging the question.... "why?"
>
> That's what log files are for ;)
>
>
>
> Regards,
>
> Ian
>
> --
> Ian.H - digiServ Network
> www.digiserv.net | irc.digiserv.net | forum.digiserv.net
> Programming, Web design, development & hosting.
> PGP Key: <http://digiserv.net/pgp/ian_h.asc>
>



Reply With Quote
  #4 (permalink)  
Old 01-26-2004
george
 
Posts: n/a
Default Re: Hit Tracker Script

"Ian.H" <ian@WINDOZEdigiserv.net> wrote in message
news:pan.2004.01.22.15.44.27.869818@hybris.digiser v.net...
>
> [ Rearranged into correct chronological order ]
> [ <http://tk.digiserv.net/tofu.txt> ]
>
>
> >> "Ian.H" <ian@WINDOZEdigiserv.net> wrote in message
> >> news:pan.2004.01.21.19.53.56.406317@hybris.digiser v.net...
> >> On Wed, 21 Jan 2004 18:17:56 +0000, Chris Dingman wrote:
> >>
> >> > Hey all...
> >> >
> >> > Here's a short little script I wrote to track visitors to our

website.
> >>
> >>
> >> Begging the question.... "why?"
> >>
> >> That's what log files are for ;)

>
>
> On Wed, 21 Jan 2004 22:17:19 +0000, Chris Dingman wrote:
>
> > For those whose hosts do not allow access to the apache log files.

>
>
> Which gives you false information[1]... which ummm.... makes it pointless
> does it not?
>
> If it's any consellation... many have done the same (I have too.. back
> in the day).. but they really aren't reliable enough =)
>
>
>
> Regards,
>
> Ian
>
> [1] There is no reliable method to properly track users via scripting..
> the HTTP protocol is too limited for what's required.
>
> --
> Ian.H - digiServ Network
> www.digiserv.net | irc.digiserv.net | forum.digiserv.net
> Programming, Web design, development & hosting.
> PGP Key: <http://digiserv.net/pgp/ian_h.asc>


Chris probably meant 'log visits to our website'.
I don't have access to the server access logs, but my own logging
is better than what the server logs anyway :)

George Girard, Programmer/FiddlerArounder, georgegg@magnolia.net
Your Current Internet Information can be found here:
http://www.canufly.net/~georgegg/You...et.Information
http://www.canufly.net/~georgegg/dns/Dns.Whois.Nslookup


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0