PHP Count files in dir

Dec 10, 2008 Author: City Hall
How to count files in one directorium with php We know that in linux hiden files have dot (.filename) also we have to system dirs .(curent) ..(main dir)