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
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
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
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
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
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
[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
[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
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
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
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
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
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
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:
--- 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
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
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
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;
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:
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
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
[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
22 matches
Mail list logo