Re: Premature end of script headers

2008-11-16 Thread Adam Jimerson
Mike Williams wrote: [EMAIL PROTECTED] wrote: Hello, i need to know the reasons for this error Premature end of script headers i checked with my http header content-type:text/html ,but i had not solved yet.. Often this happens when some error occurs in your code before you

Re: Premature end of script headers

2007-06-13 Thread saran . jegan
Mike, Hi there. Please do a reply to all to keep this on the list. Someone else may be able to help, and someone else may be helped in the future if it lands in the list archives. Sorry for that ... am using windows XP (windows 5.1) , am changed the http.conf file as per your

Re: Premature end of script headers

2007-06-13 Thread saran . jegan
On Jun 12, 7:54 pm, [EMAIL PROTECTED] (Mike Williams) wrote: Saravanan, Hi there. Please do a reply to all to keep this on the list. Someone else may be able to help, and someone else may be helped in the future if it lands in the list archives. On 6/12/07, saravanan Jagadeesan [EMAIL

Re: Premature end of script headers

2007-06-13 Thread Mike Williams
On 6/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i made changes in httpd.conf file as you mentioned , here is mine Directory E:/Program Files/Apache Software Foundation/Apache2.2/cgi- bin AllowOverride None Options None Order allow,deny Allow from all Options

Re: Premature end of script headers

2007-06-12 Thread Mike Williams
Saravanan, Hi there. Please do a reply to all to keep this on the list. Someone else may be able to help, and someone else may be helped in the future if it lands in the list archives. On 6/12/07, saravanan Jagadeesan [EMAIL PROTECTED] wrote: Mike, Thanks for your info mike , i

Re: Premature end of script headers

2007-06-08 Thread Mike Williams
On 6/7/07, saravanan Jagadeesan [EMAIL PROTECTED] wrote: Mike, These are the answers for your questions Do you have other cgi programs in the same directory that work? None works !!,Am having about 5 programs in my CGI-BIN folder all these programs are executing the same

Re: Premature end of script headers

2007-06-05 Thread Sean Davis
[EMAIL PROTECTED] wrote: Hello, i need to know the reasons for this error Premature end of script headers i checked with my http header content-type:text/html ,but i had not solved yet.. Check your error_log file on your server to see if you are generating an error in your script. Sean

Re: Premature end of script headers

2007-06-05 Thread Mike Williams
[EMAIL PROTECTED] wrote: Hello, i need to know the reasons for this error Premature end of script headers i checked with my http header content-type:text/html ,but i had not solved yet.. Often this happens when some error occurs in your code before you output the headers. Try putting

Re: Premature end of script headers

2005-02-08 Thread Chris Devers
On Tue, 8 Feb 2005, vishwas bhakit wrote: I am getting [the] following error. Premature end of script headers Can anybody [please] tell me what is the cause of this[question mark] [Thanks] in advance As noted in the last reply to you, it is impossible to give any constructive

RE: Premature end of script headers

2005-02-08 Thread Moon, John
Subject: Premature end of script headers hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. Have you tried to execute the script from the command line? That is sometimes helpful in finding the error... jwm -- To

RE: Premature end of script headers

2005-02-08 Thread Bob Showalter
vishwas bhakit wrote: hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. When the webserver runs your CGI script, it parses the output, looking for the MIME headers, followed by a blank line, followed by the response

Re: Premature end of script headers Linux with Fat32 filesystem

2003-08-20 Thread Tim Blanchard
Tim Brom [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I dual-boot my computer and I have three partitions, an NTFS partition for Windows XP Pro, an ext3 filesystem for Linux (Red Hat Linux 9.0) and a Fat32 filesystem for my data (because FAT32 is the only filesystem both OS's

Re: Premature end of script headers Linux with Fat32 filesystem

2003-08-18 Thread zentara
On Thu, 14 Aug 2003 16:16:23 -0500, [EMAIL PROTECTED] (Tim Brom) wrote: I dual-boot my computer and I have three partitions, an NTFS partition for Windows XP Pro, an ext3 filesystem for Linux (Red Hat Linux 9.0) and a Fat32 filesystem for my data (because FAT32 is the only filesystem both OS's

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, If you're trying to get the results to print in a browswer, you have to send the content type to the browser in the headers. Did you do either of these things prior to whatever routine prints your results? use CGI; $query = new CGI; print $query-header; or print Content-type:

Re: Premature end of script headers

2003-03-24 Thread Ovid
--- Kim Forbes [EMAIL PROTECTED] wrote: Hello, I created my first Perl script from book and internet sources. I tried it out at home and it worked fine. I then uploaded it to work's Apache server, changed the permissions, and put it in the cgi-bin folder. Now I get a Premature end of

Re: Premature end of script headers

2003-03-24 Thread Kim Forbes
Sure, Here is the code. When I tried it out at home, I uploaded it to Tripod (The free web-creation site.) I must add that I tested everything, but the mail portion of the program (Tripod requires a special Tripod Mail module that I felt was too much work for what I was trying to do. I may be

Re: Premature end of script headers

2003-03-24 Thread Kim Forbes
end of script headers Kim, If you're trying to get the results to print in a browswer, you have to send the content type to the browser in the headers. Did you do either of these things prior to whatever routine prints your results? use CGI; $query = new CGI; print $query-header

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Kim, It appears to be the header issue I mentioned before. Before print EndHTML; You should print the text/html header. print Content-type: text/html\n\n; print EndHTML; or use CGI; $q = new CGI; print $q-header; print EndHTML;

RE: Premature end of script headers

2003-03-24 Thread Scot Robnett
Yes, but it's not correct, there's your premature end of script header right there. You have: print Content-type:text/html\n\n; It should be: print Content-type: text/html\n\n; - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -- To unsubscribe, e-mail:

Re: Premature end of script headers

2003-03-24 Thread Ovid
Hi Kim, I hope you don't take any of this personally. It's certainly not meant that way. --- Kim Forbes [EMAIL PROTECTED] wrote: #!/usr/bin/perl-w There should be a space after the -w. print Content-type:text/html\n\n; There should be a space after the colon. This is one of the reasons

RE: Premature end of script headers

2003-03-24 Thread Dennis G. Wicks
Greetings; That will not cause the problem using Apache and IE 6.0 It might in other combinations, but generally spaces are not significant if other punctuation is doing the job. Check the error logs for file not found which is generally a permissions problem. Also, for a valid path-to-perl in

RE: Premature end of script headers

2003-02-06 Thread Bob Showalter
[redirected to beginners-cgi list] zegdatwel wrote: hi, Premature end of script headers what can this mean...it's in the error log. When does this happen? I got error 500 when executing script. It means your script ended (normally or abnormally) before emitting a proper MIME header. The