in reply to getting a cgi script working

A little tip: if you have FTP access only, no shell, make sure that you're uploading your scripts in ASCII mode, not binary mode...lots of FTP clients default to binary.

Also, make sure the script is executable - a 'chmod 755' will do the trick.

I can remember being screwed up by these waay too many times, back in my wee days. You know something is wrong when a Hello, world script gets you the dreaded "500 Server Error".