//body bgcolor="#FFFFFF" vlink="#000080" alink="#0000FF"
Re
Streets of Willow Redux - March 2017
Visitors since May 6, 1996:
//this is our text file if you create a different named file change the script below to reflect this
$counter_file = ("/data/httpd/nsxfiles.com/web/counter.txt");
//now we open the file
$visitsfile = file($counter_file);
//read the number of visits
$visits = intval($visitsfile[0]);
//this increments the counter value by 1
$visits++;
//now we will open the counter file for writing "w"
$fp = fopen($counter_file , "w");
//put the new count value into the counter file
fputs($fp , "$visits");
//close the file
fclose($fp);
//display the count
/* Old ASP Counter
<%
Set oCounter = Server.CreateObject("nsxFiles.utils")
lNextID = oCounter.GetNextID("c:\counter.txt")
' IF the counter gets messed up, run the function below and put in the counter number you want to set.
' bStatus = oCounter.SetNextID(<
Last Updated: