Erratic server errors apparently caused by missing header.

2001-06-07 Thread Peter Cline
Greetings list peoples, I was not sure whether or not this is an issue dealing exclusively with cgi i(thought certainly it must be a factor) so I have taken the liberty of sending this to both lists. Here is my (to my mind) very perplexing problem. I have a collection of CGIs that all use a m

Re: Erratic server errors apparently caused by missing header.

2001-06-07 Thread Curtis Poe
--- Peter Cline <[EMAIL PROTECTED]> wrote: > print "Content-type : text/html \n\n"; I'm not sure if the above line is the issue or not. How the browser or Web server deals with that could be the issue (though it sounds like your problem is on the server side). A proper content type header is

Re: Erratic server errors apparently caused by missing header.

2001-06-07 Thread Peter Cline
Indeed this is what I opted to do after receiving the same suggestion from another. I've always use the CGI.pm module, but have always used it to extract data from forms using the param method. I had never used it to generate headers or html. I will certainly do so from now on since it seem

Re: Erratic server errors apparently caused by missing header.

2001-06-07 Thread William McKee
Peter, Yes, using the 'print header' from CGI.pm is a good idea. However, if you send any output to the browser _before_ issuing this command, you'll continue to see the errors you described. Be sure to look for any statements which would cause ouput to go to the browser before you send the h

RE: Erratic server errors apparently caused by missing header.

2001-06-08 Thread Kris Cook
easier for other newbies to maintain. Now, some of the stuff I write just for my own use is, well, another matter ;0 > -Original Message- > From: Curtis Poe [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 07, 2001 12:37 PM > To: CGI Beginners > Subject: Re: Erratic serve