Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
invisible cookie page counter
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="muso" data-source="post: 32473" data-attributes="member: 40"><p>I'd say go with a premade script, you'll get a lot more features. If you get your own domain name sometime in the future, there's a 99% chance you'll get a slew of different statistics scripts. They'll give you graphs, ip addresses, pages most visited/downloaded and tell you what country your visitors come from.</p><p></p><p>If you want to install a premade one, there are plenty at <a href="http://www.hotscripts.com/PHP/Scripts_and_Programs/Counters/" target="_blank">HotScripts</a> - I suggest you make their PHP section a bookmark - in particular, take a look at <a href="http://www.hotscripts.com/Detailed/22285.html" target="_blank">BBclone</a>.</p><p></p><p>If you want to write your own, all you'd need is a simple if() statement. Basically you'd check if the cookie <em>doesn't</em> exist, if so, add one to the hit counter, then print the hit counter out to a file or html page. I can't remember the syntax to set a cookie off the top of my head but I'll post it here later if you like.</p></blockquote><p></p>
[QUOTE="muso, post: 32473, member: 40"] I'd say go with a premade script, you'll get a lot more features. If you get your own domain name sometime in the future, there's a 99% chance you'll get a slew of different statistics scripts. They'll give you graphs, ip addresses, pages most visited/downloaded and tell you what country your visitors come from. If you want to install a premade one, there are plenty at [url=http://www.hotscripts.com/PHP/Scripts_and_Programs/Counters/]HotScripts[/url] - I suggest you make their PHP section a bookmark - in particular, take a look at [url=http://www.hotscripts.com/Detailed/22285.html]BBclone[/url]. If you want to write your own, all you'd need is a simple if() statement. Basically you'd check if the cookie [i]doesn't[/i] exist, if so, add one to the hit counter, then print the hit counter out to a file or html page. I can't remember the syntax to set a cookie off the top of my head but I'll post it here later if you like. [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
invisible cookie page counter
Top