|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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).] |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
|||
|
|||
|
Yes, use the (if I can remember correctly) fopen() tag to open a text file.
See the PHP manual for more info. |
|
#5
|
|||
|
|||
|
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 ** |
|
#6
|
|||
|
|||
|
You can use asp and the application object - very simple. Let me know if you want more details.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > hit counters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|