# Simple Counter?

**URL:** <https://forum.kirupa.com/t/simple-counter/28663>\
**Category:** programming\
**Created:** [August 16, 2003, 9:26am UTC](https://forum.kirupa.com/t/simple-counter/28663 "2003-08-16T09:26:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdrawkcaB](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@sdrawkcaB](https://forum.kirupa.com/u/sdrawkcaB)\
**Post date:** [August 16, 2003, 9:26am UTC](https://forum.kirupa.com/t/simple-counter/28663/1 "2003-08-16T09:26:03Z")

</div>

How do I just have a counter that shows how many people have checked the page… All I want is the numbers, preferably text. I’ve seen it on tons of pages that has the text of whos checked the page, how can I do this?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 16, 2003, 11:01am UTC](https://forum.kirupa.com/t/simple-counter/28663/2 "2003-08-16T11:01:03Z")

</div>

This has been asked before!

Search!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 16, 2003, 2:03pm UTC](https://forum.kirupa.com/t/simple-counter/28663/3 "2003-08-16T14:03:21Z")

</div>

my first post in this thread shows you how:

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24666&perpage=15&highlight=php%20flash&pagenumber=2](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24666&perpage=15&highlight=php%20flash&pagenumber=2)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 20, 2003, 3:32am UTC](https://forum.kirupa.com/t/simple-counter/28663/4 "2003-08-20T03:32:54Z")

</div>

I don’t want it in Flash tho… Also, I would like another file that shows how many times a file has been downloaded. In text also…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 20, 2003, 3:56am UTC](https://forum.kirupa.com/t/simple-counter/28663/5 "2003-08-20T03:56:24Z")

</div>

that doesn’t need to be done in Flash. It still shows you how to do it.

File downloads are a bit trickier. There are tutorials out there…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 20, 2003, 11:40pm UTC](https://forum.kirupa.com/t/simple-counter/28663/6 "2003-08-20T23:40:41Z")

</div>

Care to try and find them for me?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 20, 2003, 11:48pm UTC](https://forum.kirupa.com/t/simple-counter/28663/7 "2003-08-20T23:48:56Z")

</div>

> \*Originally posted by sdrawkcaB \*  
> \*\*Care to try and find them for me? \*\*

Uhhh, how 'bout using [www.google.com](http://www.google.com) to find them yourself.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 21, 2003, 4:08pm UTC](https://forum.kirupa.com/t/simple-counter/28663/8 "2003-08-21T16:08:49Z")

</div>

You don’t think I’ve tried that? I’ve tried that for so long and I can’t find anything.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 21, 2003, 5:25pm UTC](https://forum.kirupa.com/t/simple-counter/28663/9 "2003-08-21T17:25:14Z")

</div>

You didn’t mention that in your request, and with the way it was worded, it comes across as less than courteous.

Now, back to the problem at hand. Counting file downloads isn’t much different, you just set up the download link to go to an intermediate script page that increments the count, then redirects to the desired file. If you want to get fancy, you can use the same script for multiple files by passing some form of fileID parameter in the URL link to the count script.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 22, 2003, 1:43am UTC](https://forum.kirupa.com/t/simple-counter/28663/10 "2003-08-22T01:43:25Z")

</div>

huh… google must not like you because I found about 10 pages worth of hits… I guess you just gotta know what you’re looking for…

[http://www.google.com/search?hl=en&ie=utf-8&oe=utf-8&q=php+download+counter](http://www.google.com/search?hl=en&ie=utf-8&oe=utf-8&q=php+download+counter)

enjoy.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 24, 2003, 4:02am UTC](https://forum.kirupa.com/t/simple-counter/28663/11 "2003-08-24T04:02:56Z")

</div>

Is the script that does all this PHP? I only know HTML…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 24, 2003, 4:05am UTC](https://forum.kirupa.com/t/simple-counter/28663/12 "2003-08-24T04:05:58Z")

</div>

look buddy, everyone’s sh!tting all over and rightly so, but I feel bad for you so if you have php/mysql support, then I’ll write you a file to use w/ phpMyAdmin that will create a small table to keep track of loads, etc… and also a .php file that will display the hitcount. You will of course need to send me the deed to your soul via express mail as payment.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 24, 2003, 3:17pm UTC](https://forum.kirupa.com/t/simple-counter/28663/13 "2003-08-24T15:17:20Z")

</div>

then learn PHP. its really not that hard. and yes, the code that does it all is PHP and you need PHP because HTML can’t do anything like saving values to a text file or anything like that…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 9:41pm UTC](https://forum.kirupa.com/t/simple-counter/28663/14 "2003-08-26T21:41:07Z")

</div>

Hmm. I’m not gonna learn PHP just for this. Since you’re so good, can’t you just attatch a .txt file with the proper instructions? I’ll give you a dollar.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 9:52pm UTC](https://forum.kirupa.com/t/simple-counter/28663/15 "2003-08-26T21:52:29Z")

</div>

He didn’t get good at PHP by having others do things for him, and the “dollar” comment is just plain insulting.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 1:49am UTC](https://forum.kirupa.com/t/simple-counter/28663/16 "2003-08-27T01:49:50Z")

</div>

And I will officially never help you again. Thanks for your time. Enjoy your stay.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 2:07am UTC](https://forum.kirupa.com/t/simple-counter/28663/17 "2003-08-27T02:07:11Z")

</div>

How the hell is that insulting? A dollar for doing that is pretty good.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 2:11am UTC](https://forum.kirupa.com/t/simple-counter/28663/18 "2003-08-27T02:11:16Z")

</div>

_cough_

You have much to learn grasshopper, I suggest you start with a class in manners.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 2:12am UTC](https://forum.kirupa.com/t/simple-counter/28663/19 "2003-08-27T02:12:17Z")

</div>

Actually, for programming a fully functional hit counter/visitor tracker system I could probably get anywhere from $50-250. Probably more depending on the features required. I don’t have a lot of skill but I have enough of it to be insulted when someone underestimates me.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 2:12am UTC](https://forum.kirupa.com/t/simple-counter/28663/20 "2003-08-27T02:12:41Z")

</div>

Why don’t you just do it yourself for free. Then sell it someone like yourself for a dollar.

[Next page](https://forum.kirupa.com/t/simple-counter/28663.md?page=2)
