This is based off of du.php, and is basically the same thing except it lets you click on folders to navigate through the directory structure and see how much space each directory is taking up.
It uses php’s shell_exec function to call the du utility on the directories it’s in. So if your host doesn’t allow you to use shell_exec, this isn’t going to work for you. If they do allow shell_exec, but do not allow ssh access then this is perfect.
You can view it here as well.
I’m starting to copy my scripts from https://justynshull.com/oldsite/phpscripts.html but figured I’d start with this one so I can get the syntax hilighting/formatting down with wordpress.
I decided to switch my website from basic html/php to WordPress, and at the same time moved it over to my VPS. It was being hosted on dreamhost before. I still need to install/configure subversion, and move some of my old stuff over to wordpress. There isn’t much to move, so it won’t be hard. The old version of the site can be found here: http://justynshull.com/oldsite/