Posted by Jason Nugent on August 10, 1998 at 10:00:21:
In Reply to: Re: Self marking MCQ test posted by Andy Tatton on August 10, 1998 at 08:14:35:
: : Yes, you do need a cgi script. Unless you want your students to be able to see the answers merely by viewing the html source, you need a cgi script.
: Sorry didn't think of that, I only wrote it for fun.
: I didn't think students were that clever anyway. :)
Actually, you can do it both ways :) a CGI script will give you more functionality (for obvious reasons), but you might consider putting your information inside a .js file which doesn't display its contents in the browser source. Set up your server so they can only get to the .js file by loading the main page and you should be ok.
I'd do it with a CGI script, though :)