0"; $query = mssql_query($sql); $row = mssql_fetch_assoc($query); $online = intval($row['total']); $arquivo = "record_online.txt"; // Cria o arquivo caso não exista if(!file_exists($arquivo)){ file_put_contents($arquivo, "0"); } $record = intval(trim(file_get_contents($arquivo))); // Atualiza o recorde if($online > $record){ $record = $online; file_put_contents($arquivo, $record); } echo number_format($record, 0, ',', '.'); ?>
0") ); echo number_format($row['total'],0,',','.'); ?> 10/07/2026 17:43:04