i don't know if this is the correct area to put this query so apologies in advance if it isn't:
i want to set up a server in order to have a set up with a
teacher and some users. I want the teacher to be able to add and remover users and for the users to be able to post things (like in a guestbook)
I have a homepage and haven't a clue how to go about this.
Any suggestions?
Who is Participating?
what9Connect With a Mentor Commented:

Go to Matt Script Archive and look at web discussion board, and other goodies



This is very general questions... you need to specify your requirement much more so that you get the right answer... anyway....
you want to setup a server....
1.  web server I presume.... cheapest Apache web server
You want ability to add users and post things like guessbook
1. Install MySql Server and use PHP3 script
2. Use text file and write perl script
3. javascript with Oracle, MySql, DB2, MSQL etc.....

my suggestion needs 3 things...   -  web server   - scripting language - examples and previous projects by others - free multi-threaded DBMS

install apache in your linux/unix machine and add the php3 module.... install your mysql DB... all are simple step by step instruction in their README file... write php script that access the DB just like javascript in HTML...

paulwhelanAuthor Commented:
can u be more specific
i have an apache server setup and want to set it up with an administrator
and multiple users. What files should i adjust to do this and how?
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

The users are created with the proper tools.
Each user has to create a ~/public_html directory
which is world readable
chmod 644
Then each user can create his own web

say your domain is

then for user john his url would be

This may be what you are looking for

paulwhelanAuthor Commented:
what im looking for is to be able to go to my index.html and logon as either administrator or user.
if i logon as administrator i can add or delete users.
if i logon as a user i can post messages.
i have an apache server running on a sun machine
and dont know what to do....
any suggestions?

As you are accecssing a form you have to write a
cgi that checks for the userid and based on it
it shows you the proper form.
So it is the script that handles the formdata from index.html that desides what to do.  
But why not just have a different script that you select
for example admin.cgi in a different directory
then you can use simple .htaccess files and the htpasswd
program to control who can to what

paulwhelanAuthor Commented:
i dont have access to htpasswd on my server....

If you are just looking to post messages there is a nice little mailinglist script out there called minordomo.  It is run with full moderation so you have control over who joins and what they post. You can get it at

It is really easy to install and maintain.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.