Log in

View Full Version : Does anyone know how to do this? Help!



slava
02-15-2007, 11:22 AM
Recently i've uploaded a site(tintasii.moldovacrestina.net) and i would like to know how many people visted my website. but also to make it visible for all

Thanks for your help!:)

codeexploiter
02-15-2007, 11:29 AM
Most of the host providers provides a way using which their clients can view their website statistics as a part of their site's control panel.

If it is not there in your case you can go for a very good software - AWStats (http://awstats.sourceforge.net/).

You can also checkout this page (http://awstats.sourceforge.net/docs/awstats_compare.html)

slava
02-15-2007, 11:45 AM
thanks for your help,

You know, i want to make a meter i mean right on that page, so that evryone would be able to see it?

Is it the same what you gave to me?

Thanks gain!

codeexploiter
02-15-2007, 12:01 PM
You know, i want to make a meter i mean right on that page, so that evryone would be able to see it?

I didn't get your this point.

AWStats is a a tool which an admin can use to check the detailed statistics. I is not a tool meant for a normal user.

If you are looking for something using which you can display the number of visitors visited your site then please let me know about it, so that I can try to give you the same.

If I am wrong then try to explain what exactly you are looking for, if possible some example site/page.

ddadmin
02-15-2007, 12:11 PM
Please be sure to post in the correct forum category in the future. This question isn't related to CSS in anyway. The most appropriate category would either by "Other (http://www.dynamicdrive.com/forums/forumdisplay.php?f=12)" or "Looking for such a script (http://www.dynamicdrive.com/forums/forumdisplay.php?f=23)". Thread moved to the former this time.

slava
02-15-2007, 12:12 PM
Yes, your right, i want to display the num of the vistors and if it's posible date and time, like:
views: 453
today: 34

Hope you understand what i want!
thanks!

codeexploiter
02-15-2007, 12:21 PM
check this one (http://www.statcounter.com/free_hit_counter.html) and this one (http://www.shinystat.com/en/free/info_free.html)

slava
02-15-2007, 12:32 PM
man, you helped me so much!

boxxertrumps
02-15-2007, 11:24 PM
PHP solution...

<?php
$numfile = "count.txt";
$handle = fopen($numfile,"a+");
$var = fread($handle, "50")++;
fwrite($handle, $var);
fclose($handle);
echo "Total Visitors:". $var;
?>

slava
02-16-2007, 04:33 PM
Sorry but i'm not familiar with PHP, and have no idea where to put this code in my html code,

I'd be very thankful if you explained me how to do this!

BLiZZaRD
02-16-2007, 04:53 PM
check this one (http://www.statcounter.com/free_hit_counter.html) and this one (http://www.shinystat.com/en/free/info_free.html)

Stat counter is probably one of the best free site counters out there. If you register and follow the instructions there you will be up and counting in no time at all.

There is also a help section on the site that explains where and how to put the code to show the counts on your page(s)

The above php code should be placed where ever on your page that you want to show the count. But if you go with stat counter the code will be a little different.