There's a linkcounter that counts the number of hits on a link. I have a plaintext file containing the number of hits, it's something like the following:
Say it's sites.txt:
[www.google.com]
count_out=8
[www.phpbuilder.com]
cound_out=14
I need a script that shows the number of hits of a site specified.
<?
(code to get the # of hits)
echo "$hits"
?>
Say it's called redirect.php
Now, for exapmle, if I want to see the number of hits for www.google.com, the link would be: redirect.php?link_site=www.google.com
What's the easiest way to do this?