php web stats script

Reply

Join Date: Sep 2007
Posts: 21
Reputation: mag00 is an unknown quantity at this point 
Solved Threads: 0
mag00 mag00 is offline Offline
Newbie Poster

php web stats script

 
0
  #1
Sep 19th, 2007
Anybody know of a good one? One that tells where they came from and when they exit.

I have been trying a few out that I got off of hotscripts and haven't found one I like.

If possible I would like to put in root directory without having a script on each page. Also would like to keep track of other sites also. I use godaddy hosting. (mysql php)

Any suggesions appreciated.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 1,403
Reputation: ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light 
Solved Threads: 225
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: php web stats script

 
0
  #2
Sep 19th, 2007
Use Google Analytics it will give you tons of information which you will most likely not need but it generates pretty pictures and it doesn't take up any space on your servers
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,221
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 538
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: php web stats script

 
0
  #3
Sep 19th, 2007
If possible I would like to put in root directory without having a script on each page
I used the "include" statement to get a counter on all of my pages. Is that what you are after for?
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 21
Reputation: mag00 is an unknown quantity at this point 
Solved Threads: 0
mag00 mag00 is offline Offline
Newbie Poster

Re: php web stats script

 
0
  #4
Sep 19th, 2007
Originally Posted by jbennet View Post
I used the "include" statement to get a counter on all of my pages. Is that what you are after for?
Not really, I just want to put a file or two on the site, without having to add code to each page. I add regularily to many of my sites, and I also don't want to go back and add to all of the others.

I really am not a coder, but have been going in and changing some of the obvious stuff here and there in some of my templates and index pages.

I have the google account, hmm, may have to look at that some, but some of my sites will never see a google ad so will that work for them?

Im getting ready to generate a bunch of web pages using my photos, and an include might be cool, how does that work? Would I need to have a good counter/stats program for it to work?
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 1,403
Reputation: ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light 
Solved Threads: 225
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: php web stats script

 
0
  #5
Sep 19th, 2007
Include works be inserting a file into another ie.,

HelloWorld.php
  1. <?php
  2. echo "<h1>Hello World!</h1>\n";
  3. ?>

index.php
  1. <html>
  2. <head>
  3. <title>Hello</title>
  4. </head>
  5. <body>
  6. <? include('Hello World.php'); ?>
  7. </body>
  8. </html>

Would generate a page that looks like this:

  1. <html>
  2. <head>
  3. <title>Hello</title>
  4. </head>
  5. <body>
  6. <h1>Hello World!</h1>
  7. </body>
  8. </html>

Obviously it can have more than one echo but that's the easiest way to describe it.
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1
Reputation: longtime is an unknown quantity at this point 
Solved Threads: 0
longtime longtime is offline Offline
Newbie Poster

Re: php web stats script

 
0
  #6
Sep 19th, 2007
A great web stats option is GoStats. I use both Google and GoStats to get a hybrid solution of realtime and comprehensive web stats. (GoStats is really quite good even by itself)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC