<?php $all = file("info.dat"); $all = @array_reverse($all); $files = count($all); echo ' ('.$files.')'; ?>