>>
>>
>> i even tried the following :
>>
>>
>> sub some_sub {
>> $DBH_local = DBI->connect("DBI:mysql::192.168.1.26", "all_user",
>> "all_passwd") || return 0 ;
>>
>> } ;
>>
>> }
>>
>>
>> but this too doesn't work . gives me the same error "Internal server error "
>>
>> Please help me with this
try add these options when new the DBI object:
PrintError => 0,
RaiseError => 0,
2011/4/15 Agnello George :
> Hi All
>
> In my code i am trying to connect to a db if it fails it should return
> 0 , this a web based script and it throws me internal server error
> and the apac
vishwas bhakit wrote:
hello,
Hello,
I am getting following error.
Premature end of script headers
Can anybody plz tell me
what is the cause of this.
perldoc perldiag
[snip]
Premature end of script headers
See Server error.
[snip]
Server error
This is the erro
> --0-533587995-1107883018=:92269
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> hello,
>
> I am getting following error.
>
> Premature end of script headers
>
> Can anybody plz tell me
> what is the cause of this.
>
> Thnx in advance
Yes. The cause
That's it !
thanks,
Martin
- Original Message -
From: "Rob Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 3:28 PM
Subject: Re: Premature end of script headers
> Zegdatwel wrote:
> > hi,
> >
> > &q
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.
Check the permission settings on your script. try chmod 755.
HTH,
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
> "Brett" == Brett W McCoy <[EMAIL PROTECTED]> writes:
Brett> On Wed, 19 Sep 2001, SAWMaster wrote:
>> What is wrong with this line?
>>
>> print qq~\n~;
>>
>>
>> Some reserved word in there?
>>
>> The error is "Premature end of script headersif that helps.
>>
>> If I take that line o
On Wed, 19 Sep 2001, SAWMaster wrote:
> #!c:\perl\bin\perl -w
>
> use DBI;
> $dbh = DBI->connect('dbi:ODBC:gallery');
> print "Content-type: text/html\n\n";
> print qq~ TYPE="text/css">~;
> print qq~\n~;
> print qq~\nOnline Gallery\n\n~;
> $sqlstatement="SELECT pid, name, description, picture, op
On Wed, 19 Sep 2001, SAWMaster wrote:
> What is wrong with this line?
>
> print qq~\n~;
>
>
> Some reserved word in there?
>
> The error is "Premature end of script headersif that helps.
>
> If I take that line out it works fine (CGI wise, not HTML wise)
>
> Can someone help me?
Of course, w
Are you sending the correct HTTP headers?
print "Content-type: text/html\n\n"; # without CGI.pm
print header(); # When using CGI.pm
> I have been unable to get a .cgi script to work on my website. I
accessed
> the error log and saw the following errors: "Premature End of Script
> Headers" a
10 matches
Mail list logo