On Wed, 13 Feb 2002 15:54:16 -0500, [EMAIL PROTECTED] (Peter Cline) wrote:

>I am getting a premature end of script headers error when running a 
>particular script from a browser.  It runs fine the command line, printing 
>the proper header and all.

Just out of curiosity I tried to run your script.
I found 1 problem when running from my server:
You need full urls
<form method="POST" action="http://localhost/cgi-bin/cube_root.cgi";>
instead of
<form method="POST" action="/cgi-bin/cube_root.cgi">

That got it running. The bad news is the algorithm doesn't work right.
For instance if I submit 27, I get back 13.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to