SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 1st, 2000, 12:11 PM
yduvoid yduvoid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 51 yduvoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I am wondering how a hit counter works and I would like to know how to set up one. Can anyone help me? I am interested in setting up an image counter, meaning that each number is an image. There are no database or serverside programming involved. It is important that I know how the hits are recorded. Hope you can help me!

------------------

Yanik!
Edmonton, AB

[This message has been edited by yduvoid (edited August 01, 2000).]

Reply With Quote
  #2  
Old August 1st, 2000, 01:19 PM
JonLed JonLed is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2000
Location: Indiana
Posts: 614 JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 49 m 49 sec
Reputation Power: 9
The hits are recorded in a database, just a flatfile database (which is a regular text document).

As far as text counters, they are dynamically created, that's too complicated to give an easy answer for. Just look around the web for some free ones.

Reply With Quote
  #3  
Old August 1st, 2000, 01:26 PM
yduvoid yduvoid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 51 yduvoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I can handle complicated scripts, I have experience with php. I was just wondering if there is a way to do it without a database. Can't you use php and use a text file to keep track of the hits?

Reply With Quote
  #4  
Old August 2nd, 2000, 08:42 AM
JonLed JonLed is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2000
Location: Indiana
Posts: 614 JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 49 m 49 sec
Reputation Power: 9
Yes, use the (if I can remember correctly) fopen() tag to open a text file.

See the PHP manual for more info.

Reply With Quote
  #5  
Old August 2nd, 2000, 09:14 AM
CyberOsc CyberOsc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Indonesia
Posts: 87 CyberOsc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I dont't know if this what u mean or not
But I've made a page with counter
using PHP and a text file not a database !!

All u have to do just
keep the counter in the file and every time visitors come into your page , increase the counter.
Just that !!!

You can set the HTTP_REFERER if u don't want your counter increase while handling visitor that come from links or bookmark !!!

That's all
Hope that this can help u ..
See ya !!!


------------------
** It's the world of Oscario **

Reply With Quote
  #6  
Old August 14th, 2000, 06:52 AM
daniel daniel is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 5 daniel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You can use asp and the application object - very simple. Let me know if you want more details.


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > hit counters


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway