I'm using the jQuery FileTree plugin. The php connector uses scandir to get a folder's contents. After I upload images, my uploader script creates a "thumbs" folder, and then makes a thumbnail version of the image, and stores it there.
Users will be operating on the files within each image folder, but I don't really want them seeing the "thumbs" folder that's within each image folder. I could move the thumbs folder to some other place, but that would be kind of a huge undertaking.
Is there a way to make the "thumbs" folder my upload script creates a hidden folder, unseeable by scandir?
$files = scandir($postDir);
$returnDir = substr($postDir, strlen($root));