I’m using PHP script on a UNIX/LINUX platform (via shared web hosting). Can someone suggest how to determine number of files in a certain folder. (I have full access to that folder.)
@NogDogJun 20.2006 — #Or, if you like your code dense: [code=php] $directory = "/foo/bar"; printf("<p>The number of files in %s is %d.</p>n", $directory, count(glob("$directory/*"))); [/code] ?