in reply to Writing to a file which is external to cgi-bin directory

You're writing a cgi-script to give a quiz?

Sorry to be a wet blanket here, but have you considered what happens when:

If any of these possibilities give you trouble, consider using CGI:Session to maintain state, and save state data server-side in a database like mysql.

ps: if you think this is easy - you're doing something horribly wrong.

  • Comment on Re: Writing to a file which is external to cgi-bin directory