php-ifying folder grab instead of the hack ajax dir request of yesteryear