What kind of script do freehosting companies use to divide up disk space, give a 3rd level domain name (http://www.whatever.freehosting.com), and set the permissions so the user can't go off into the other directories?
Any pointers in the right direction appreciated, my company needs to set a system like this up pronto!!!
try solutionscripts.com for the free web space script. if ur host allows wildcards u can do subdomains. http://www.webmaster-resources.com/forums/wink.gif
I'VE GOT YOUR $MONEY$ HONEY!
Most hosts don't use a script. They use functions built into the OS or Web server, unix allows you to setup disk quotas and the such like, they subdomain is usually done as another virtual host entry in the web server configuration.
Webmaster - http://www.lincs.co.uk - Giving PHP a fair chance.
Most commercial free hosting companies use CGI programs. These are probably compiled applications that access the servers allocation services. If you use Frontpage and install the server extensions on your server you can get a lot of the functionality. If you would like a perl solution then you can look at http://cgi.resourceindex.com to find one. In the PERL directory they have several scripts allowing you to create Homepage Communities. These range in price from free to $999.
The Majormud Encyclopedia - www.bloodquest2.com
Come Play one of the hottest games on the net.
I totally agree with KARL, A small script is made which creates a User Account automatically (usually we use MySQL and Linux). We create a Template on user rights which is implemented for every user. I am not sure how subdomains are implemented. But i know how FTP is obeyed.
NEED MORE INFORMATION ?
My way of accomplishing that would be pretty simple ... have a script add a user , modify the dns files and apache config files to handle a subdomain ... script should be running under a high access user(not root), either via suexec, cgiwrap or a 2nd apache running on a user ...
along with that, you use `user basis' kernel quota support ... so no user can take more than the given space limits ... scripts handle the rest ...
time consuming to setup, but will run flawlessly ...
Your #1 source of Webmaster Resources