skippa Posted May 13, 2009 Share Posted May 13, 2009 i dont want to e able to refresh the page and the hit counter goes up, i want one that adds a hit per ip that visits. Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/ Share on other sites More sharing options...
Ken2k7 Posted May 13, 2009 Share Posted May 13, 2009 Try Google Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833338 Share on other sites More sharing options...
skippa Posted May 13, 2009 Author Share Posted May 13, 2009 i have but i cant find any. Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833339 Share on other sites More sharing options...
MatthewJ Posted May 13, 2009 Share Posted May 13, 2009 i have but i cant find any. You're kidding right? http://www.developingwebs.net/phpclass/hitcounter.php http://www.doheth.co.uk/codelair/php-mysql/hit-counter http://www.tutorialmonkey.com/tm_tut14/Simple_PHP_Hit_Counter_Script First three results Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833342 Share on other sites More sharing options...
skippa Posted May 13, 2009 Author Share Posted May 13, 2009 they all need a db, but i need one without a db Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833347 Share on other sites More sharing options...
Ken2k7 Posted May 13, 2009 Share Posted May 13, 2009 they all need a db, but i need one without a db Don't you think that's relevant information to state in your first post? Any other restrictions? Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833349 Share on other sites More sharing options...
skippa Posted May 13, 2009 Author Share Posted May 13, 2009 lol yeah, i should of done, sorry, no i just need one that has no mysql, can be php or mysql. Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833353 Share on other sites More sharing options...
Ken2k7 Posted May 13, 2009 Share Posted May 13, 2009 lol yeah, i should of done, sorry, no i just need one that has no mysql, can be php or mysql. You just contradicted yourself. Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833355 Share on other sites More sharing options...
skippa Posted May 13, 2009 Author Share Posted May 13, 2009 no mysql db, php or html is wanted, have you got one or not Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833359 Share on other sites More sharing options...
wildteen88 Posted May 13, 2009 Share Posted May 13, 2009 You should look at the 3rd tutorial MatthewJ linked to in his post. That use a flat file database (just a plain text file) to store the hits. Quote Link to comment https://forums.phpfreaks.com/topic/157988-php-hit-counter/#findComment-833378 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.