Rightio, I need to count the number of files in a directory then assign that number to a variable in my website. Here is what I have thus far.

PHP Script to count files

$directory =...