router script for PHP built in web server with directory listing