Yes there's a brilliant facility by that company called Invision Power (who create the world's leading forum boards). It's called Invision Power File Manager. It's brilliant.
All you have to do is unzip the zip file, upload all the files from the /upload directory to a new folder of your site eg.
http://www.luxton.us/fileman is mine. Then you run install.php. There is a little pain with changing all the permissions to world-writable in FTP (I'm sure you know how to do this) or online in your cPanel if you have one.
But after all of that, it's brilliant. You just delete install.php so that no other creep can reinstall it and bugger it up for you. Then to create the accounts for your users, you go into /fileman/admin and type in your password, enter (layout is similar to Invision Power Board Admin CP) and go add user on the left. You can set them permissions:
- "Lock" a directory?
- Change their own password?
- CHMOD files or folders?
- Upload files?
- Rename existing files or folders?
- Edit existing files?
- Delete existing files or folders?
- Use "Copy To"?
- Use "Move To"?
- Create new folders?
- Create new files?
- Overwrite existing files?
- Create Zip archives?
You can also allow them permission to the mySQL databases (you must specify which ones, and specify the location of them, their username and password for it). As you can imagine, this is very handy - like having your own hosting company!
But most importantly, you want to say what area they can access. For my sister, Emily, I just created a folder in FTP in the public_html directory called /emily, ie.
http://www.luxton.us/emily so for directory I'd put /home/luxton/public_html/emily and for URL I'd put
http://www.luxton.us/emily. This makes sure that she can only access that area! Then you set the space limit that she is allowed to have while using the file manager. You can set any number, next to a combo box displaying options of: Bytes, Kilobytes, Megabytes, Gigabytes. Megabytes is the default. Let's be generous, 4 Kiloytes!!!!
If she exceeds her limit, as she is likely to with the lousy space I gave her, her files will not be deleted, but she will be unable to upload more files or do anything that will let her use up more space. She can see her space usage with the pie chart (colours customisable in admin).
I am amazed at the compatability with a simple PHP script. As you can agree with me, it is a brilliant way to give webhosting, as my site is a family site and all of my big Italian family want their own subdomains to host their sites. It's the securest way possible! I am restricting them to 2MB though.
Of course, if you want an e-mail system too to go with it you could add /webmail directory and upload some files from Hasty Mail, Hive Mail, or Fuse Mail ... there is so much to use for PHP as it is open source (although not most of the programs themselves)! What a joy!
But most importantly, here is the url -
http://www.invisionfilemanager.com/d...m_v1.0.1_final
Regards, and happy hosting, and I hope you found this useful,
James Luxton
james@luxton.us
www.luxton.us/james