Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

product information

 

Title
hit counter

Description
a basic counter

Information

This is a test page for our counter, this counter can be used in text or graphics mode.

At the top of the script are 3 variables that can be set up

$counter_data is the name of the file that will hold the current count, put whatever number in this that you require
$image_dir is the name of the image directory for the digits for graphics mode , 4 folders are supplied with the download
$style is the variable which can be set to text for a text only counter or anything else for graphics, default is graphics

If you do not require the count to start at 0 open the counter_data.txt file and enter the value you require.
Upload all files in the zip file as is . This will create a directory called digits with 4 sub-directories called 1 , 2 , 3 and 4.
CHMOD the counter_data.txt file to 755.

To include this on a page use the following syntax

<?php include("counter.php"); ?>


Download
hit counter


 

 


1000s of searchable products


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Replace a SubString with another(VB.net)
List all files in a directory and place them in a select menu(PHP)
sliding status bar message(Javascript)
user interaction(Java)
display the date(PHP)
Associate a file extension with an application(VB)
factorial function(VB)
updating clock(PHP)




Copyright © 2004 by programmershelp.co.uk