CGI scripting--best language(s) to use?

I'm not sure if I'll bite the bullet and tackle this myself or not--I haven't done much directly with CGI scripting--but at least I want to know what I'm talking about when evaluating programmers to do this:

I need to write a relatively simple CGI script (which receives POST form input, does some math, and then writes or overwrites a text file on the server). I can't predict what servers it will need to run on--I want it to be as flexible as possible--for Unix servers, NT, Mac--all the most common possibilities--even if that means having 2 or more versions of the same program written. (I have been told, for instance, that PERL will typically run on Unix and Mac servers but not NT.)

So what language--or languages if need be--should my CGI script be in to have maximum compatibility with different server packages and OSes? And what restrictions would I stil need to be aware of before I over-promise that my script will run?

Thanks for any advice! I know enough about this to be dangerous--and I don't want to be dangerous.

 

 

 

 

Top