Im on a windows box, and I want php to return a variable that is equal to the number of files in a directory.
Anyone know how one would go about doing that?
http://www.php.net/manual/en/function.readdir.php - has quite a few listing examples - you should be able to modify one, to get the filecount, pretty easily.