New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Hit Counter


Post Reply New Thread Subscribe

 
Thread Tools
dziner
Guest
 
Posts: n/a

A client of mine would like a hit counter on the site I've designed for him. Can anyone suggest and good counters, scripts, or free services? I personally HATE counters, but it's not my site.

Here's the site (The History Channel will be doing an Engineering Disasters episode on this subject on September 1st): www.centraliaminefire.com
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
Here's a Google list
QUOTE Thanks
muso

 
muso's Avatar
 
Member Since: Jan 15, 2003
Location: Whangarei, New Zealand
Posts: 2
muso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond repute
Mac Specs: Pwnt

muso is offline
Maybe you could make your own? http://www.zend.com/zend/tut/counter.php

I'm in your forums, writing sentences in a grammatically acceptable manner.
QUOTE Thanks
dziner
Guest
 
Posts: n/a

Quote:
Originally Posted by witeshark
Here's a Google list
I've already googled it and didn't see anything that seemed very good. I'm looking for someone who has used a hit counter. Doing a web search is the first thing I do. When I don't find anything there I turn to the forums.
QUOTE Thanks
dziner
Guest
 
Posts: n/a

Quote:
Originally Posted by muso
Maybe you could make your own? http://www.zend.com/zend/tut/counter.php
The client doesn't have access to MySQL on his server. So I think this is going to have to be a CGI script based counter.
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
Just do a simple fopen on a file add 1 to the value inside of it, save it, and go on... it is really easy to write something like that in PHP and if I remember correctly you know PHP pretty well.. So there you go You do have to worry about file corruption, due to two people simultaneously accessing the file, but I have a couple of these for a couple of clients and I have not had any problems with it. You could also lock the file if you wanted to, to prevent this from happening.
QUOTE Thanks
h0tk4rl
Guest
 
Posts: n/a

Quote:
Originally Posted by Murlyn
Just do a simple fopen on a file add 1 to the value inside of it, save it, and go on... it is really easy to write something like that in PHP and if I remember correctly you know PHP pretty well.. So there you go You do have to worry about file corruption, due to two people simultaneously accessing the file, but I have a couple of these for a couple of clients and I have not had any problems with it. You could also lock the file if you wanted to, to prevent this from happening.
If you lock the file then you can easily bypass any multiple write issues.

Something simple:
http://www.phpexamples.net/codeExSnippet-54.html
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
Yep exactly what I said
QUOTE Thanks
h0tk4rl
Guest
 
Posts: n/a

Quote:
Originally Posted by Murlyn
Yep exactly what I said
When you're right, you're right! hehe
QUOTE Thanks

Post Reply New Thread Subscribe


« Currently Playing Script? | using dreamweaver to point to Database »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Apple a big hit with the young Murlyn Apple Rumors and Reports 2 09-04-2003 03:54 PM
Counter of sorts Graphite Web Design and Hosting 6 03-06-2003 12:34 PM

All times are GMT -4. The time now is 04:19 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?