To The ESRG Tool Set Home Page!
The navigation bar at the left provides an overview of our open-source endeavors and their associated site content. Please use this navigation bar to visit the desired pages.
This
web page is maintained by David
T. Ashley, and has been visited
";
/* Acquire an exclusive lock on the file. This may block. */
flock($fptr, LOCK_EX);
/* Move to the beginning of the file. */
fseek($fptr, 0);
/* Read in the contents of the hit counter file. */
$hit_count = Fread($fptr, 25);
/* Increment the hit count. */
$hit_count++;
/* Move back to the beginning of the file and truncate the file. */
fseek($fptr, 0);
ftruncate($fptr, 0);
/* Write the updated hit counter to the file. */
Fputs($fptr, $hit_count);
/* Flush the data to be sure it is back. */
fflush($fptr);
/* Release the lock on the hit counter file. */
flock($fptr, LOCK_UN);
/* Close the file. */
fclose($fptr);
}
/* Format the hit counter with commas and all that. */
$hit_count = number_format($hit_count);
/* Dump it out. */
echo " " . $hit_count . " ";
?>
times since it was automatically refreshed
from CVS archives on
Sound credit: George Carlin from Parental Advisory.
$Header: /cvsroot/esrg/sfesrg/esrgweba/htdocs/welcome.php,v 1.7 2003/04/28 08:53:39 dtashley Exp $