第一行有点错误:
$hCounterFile = fopen( $strCounterFileName , "a+")) )
应该是:
$hCounterFile = fopen( $strCounterFileName , "a+");
$hCounterFile = fopen( $strCounterFileName , "a+")) )
应该是:
$hCounterFile = fopen( $strCounterFileName , "a+");
$hCounterFile = fopen( $strCounterFileName , "r+");