in reply to Re: grade calulator coding problem
in thread grade calulator coding problem

"Internal server error" is a web server error message. More detail will be in the web server logs - typically, this will be in /var/log/httpd/error.log .

The most common cause is that you forgot to set the script permission to 755, or did not place it in an appropriate cgi-bin directory.

     Syntactic sugar causes cancer of the semicolon.        --Alan Perlis

Replies are listed 'Best First'.
Re^3: grade calulator coding problem
by friar tux (Novice) on Mar 07, 2011 at 04:06 UTC

    Thanks!! I found the error log and I almost understand what it says I assume it has something to do with the last line of the script. +Sun Mar 06 22:58:45 2011 error client 127.0.0.1 malformed header from script. Bad header=

    • The letter grade is C: calc.cgi, referer: http://localhost/ I am still using the script you wrote because its very well written. I will type up my own version of it once I get this one working I just learn better if I have a working copy to start with then I take it and learn how it works. anyway I am going to mess with the last line and see if I can get it running. you have been very helpful thank you

      I got it!!! it was missing the "HTML content type" line so it works now thanks for your help I just need to change a few things that I wanted to add to it. thnx again.