The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I tried many time and got FormMail scripting from open source, but it just doesn't work, pls help!
Why do people use hit-counters on their sites? Do they serve any use? I don't know of any major sites (bbc, sky, freeola, mingers) that use them.
On my personal site, I use a www.sitemeter.com one. But that gives me things like browser/country/ip addx/OS breakdowns, that are helpful to me. For instance roughly only 8% of my visiters use Netscape so I don't concentrate on writing for that browser so much.
But I don't know why stand alone hit-counters are so popular. They don't actually do anything.
___________________________________________________________
You are visitor no.
$counterstyle = "image";
$height = "19";
$width = "15";
$hitsfile = "";
$images = "Images/Counter";
if (!$hitsfile) $hitsfile = dirname(__FILE__)."/hits";
if (!$images) $images = dirname(__FILE__)."/images";
$images = str_replace($DOCUMENT_ROOT, "", $images);
if(file_exists($hitsfile) == TRUE) {
$hits = file($hitsfile);
$hits = $hits[0] + 1;
} else {
$hits = 1;
}
$fp = fopen($hitsfile, "w");
fwrite($fp, $hits);
if ($counterstyle == "text") {
print "$hits";
} else {
$digit = strval($hits);
for ($i = 0; $i < strlen($hits); $i++) {
print "";
}
}
?> to this site.
___________________________________________________________
copy and paste it wherever you want it to appear on your page, and make sure that the page you have the code in ends with .php, instead of .html .htm .cgi etc...
hope that helps.
Hi ajg, tks for your email and that's very useful.
About that good article, do you think I can read it on the net?
ajg wrote:
> Just found a very good article in the Dec edition of PC Pro (in the Real World,
> server side programming section) on exactly this - pitfalls of using open mail
> relays.
Very interesting actually, worth a read...
It includes validation, so people can't send blank messages :o).
Very interesting actually, worth a read...