User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,496 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,742 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 954 | Replies: 5
Reply
Join Date: Sep 2007
Posts: 21
Reputation: mag00 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
mag00 mag00 is offline Offline
Newbie Poster

php web stats script

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: New York state
Posts: 487
Reputation: ShawnCplus will become famous soon enough ShawnCplus will become famous soon enough 
Rep Power: 5
Solved Threads: 73
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: php web stats script

  #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 z+*
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,883
Reputation: jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough 
Rep Power: 32
Solved Threads: 305
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: php web stats script

  #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?
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Join Date: Sep 2007
Posts: 21
Reputation: mag00 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
mag00 mag00 is offline Offline
Newbie Poster

Re: php web stats script

  #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  
Join Date: Apr 2005
Location: New York state
Posts: 487
Reputation: ShawnCplus will become famous soon enough ShawnCplus will become famous soon enough 
Rep Power: 5
Solved Threads: 73
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: php web stats script

  #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 z+*
Reply With Quote  
Join Date: Sep 2007
Posts: 1
Reputation: longtime is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
longtime longtime is offline Offline
Newbie Poster

Re: php web stats script

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 3:26 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC