943,711 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1968
  • PHP RSS
Sep 19th, 2007
0

php web stats script

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mag00 is offline Offline
21 posts
since Sep 2007
Sep 19th, 2007
0

Re: php web stats script

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
Sponsor
Reputation Points: 520
Solved Threads: 268
Code Monkey
ShawnCplus is offline Offline
1,564 posts
since Apr 2005
Sep 19th, 2007
0

Re: php web stats script

Quote ...
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?
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,505 posts
since Apr 2005
Sep 19th, 2007
0

Re: php web stats script

Click to Expand / Collapse  Quote originally posted by jbennet ...
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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mag00 is offline Offline
21 posts
since Sep 2007
Sep 19th, 2007
0

Re: php web stats script

Include works be inserting a file into another ie.,

HelloWorld.php
php Syntax (Toggle Plain Text)
  1. <?php
  2. echo "<h1>Hello World!</h1>\n";
  3. ?>

index.php
php Syntax (Toggle Plain Text)
  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:

html Syntax (Toggle Plain Text)
  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.
Sponsor
Reputation Points: 520
Solved Threads: 268
Code Monkey
ShawnCplus is offline Offline
1,564 posts
since Apr 2005
Sep 19th, 2007
0

Re: php web stats script

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)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
longtime is offline Offline
1 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: I have problem with check box
Next Thread in PHP Forum Timeline: Problem about my check box !





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC