I made this script for one of my dev servers so I could quickly bring up file listings and files without FTP. It doesn’t have any editing features, and is very simplistic (Maybe I’ll extend it later, or you can as a practice exercise). It shows file/directory permissions and sorts my alphabet. It also limits who can view it by IP address, so you’ll need to change that or it won’t work.
Why didn’t use a php spy script? For example: http://www.4ngel.net/project/phpspy.htm