"; # Then we'll make a unique hash... $UniqueHash=bin2hex(md5($UniqueFileID)); # DEBUG # print "

"; # Lock the file. $FilePointer=fopen($CounterFile,"r+"); flock($FilePointer,LOCK_EX); # Read in the values in the counter file. while ($FileCount = fscanf ($FilePointer, "%s\t%s\n")) { list($HashID,$Count)=$FileCount; $CountHash[$HashID]=$Count; } # Increment the number of accesses to the counter file. $CountHash[$UniqueHash]=$CountHash[$UniqueHash]+1; # Rewind to the beginning of the file rewind($FilePointer); # Iterate through each element of the hash and write it to the file. # By dropping all the hashes into an array. $CountKeys=array_keys($CountHash); # Step through the array to write them to the file. foreach($CountKeys as $TheKey) { fwrite($FilePointer,"$TheKey {$CountHash[$TheKey]}\n"); } # Unlock and close the file. flock($FilePointer,LOCK_UN); fclose($FilePointer); # print out the result. # print "This page has been accessed {$CountHash[$UniqueHash]} times."; ?>

Nite I's is proud to announce
Our 2-inch helical focuser

The OctopI's Orb(SM)!






Octopi have a wonderful arrangement in the eye.
Their lens, unlike a human eye, actually moves in and out like a camera focuser.
They don't have very well defined vision, but the vision they do have stays with them for life.

Nite I's created the OctopI's Orb(SM) for our telescopes and mounts.
But it is available separately too.

If you would like to see the OctopI's Orb(SM) working,
click here (the image is 550KB and takes about 1:44 at 56KB to load).

Order on the Secure Server

Return to the Nite I's Product Catalog