Archive for the ‘
Hit Counter II ’ Category
Lets create a hit counter in Flash which will store hits data using PHP script. Everytime when that flash file will be played online, it will update the hits data and display it in flash. In this script a blank text file count.txt is being used, and a php script file to store the hits data. Take a dynamic text field in flash movie and name it count and you are done. Name the flash movie counter.swf
(more…)
This PHP hit counter counts unique hits and writes down all the IP addresses from hits. We need two files for this script.
1- Text blank file (hits.php)
2- PHP script file
(more…)
We can create a quick simple text based hit counter for any web page or website and there is no database requirement for that. Then we can include it in a PHP file and call it via iframe in any html webpage.
You will be needing two files for that.
1- one blank text file
2- PHP code file
Remember when you will upload the text file, make sure its properties are set to write (CHMOD must be set to 777. If you do it through your favorite FTP software then just right click at file and click properties/CHMOD and write in permissions box 777 or check all boxes of owner, group and public. Because we have to write in that file and file will be updated so we need write permissions at that text file).
(more…)
We can create a quick simple text based hit counter for any webpage or website and there is no database requirement for that.
You will be needing two files for that.
1- one blank text file
2- PHP code file
Remember when you will upload the text file, make sure its properties are set to write (CHMOD must be set to 777. If you do it through your favorite FTP software then just right click at file and click properties/CHMOD and write in permissions box 777 or check all boxes of owner, group and public. Because we have to write in that file and file will be updated so we need write permissions at that text file)
(more…)