or do:
print "Content-type: text/html\n\n";

/Jon

John Edwards wrote:
> 
> This looks like your script isn't returning the correct HTML headers. It's
> not a database connection fault. I would strongly suggest using the CGI.pm
> module. This provides an easy interface to all things CGI.
> 
> All this to the top of your script.
> 
> use CGI qw(:standard);
> use CGI::Carp qw(fatalsToBrowser);
> 
> then when you start displaying output add this
> 
> print header;
> print start_html;
> 
> Go here for a full description of the CGI.pm methods.
> 
> http://stein.cshl.org/WWW/software/CGI/
> 
> HTH
> 
> John
> 
> -----Original Message-----
> From: mb [mailto:[EMAIL PROTECTED]]
> Sent: 25 January 2002 14:34
> To: [EMAIL PROTECTED]
> Subject: please Help ! Database connection
> 
> Hi,
> I just need when does this kind of error is raised :
> [Fri Jan 25 15:16:29 2002] [error] [client 127.0.0.1] malformed header from
> script. Bad header=Error connecting to gestion100:
> c:/phpweb/cgi-bin/majbd.cgi
> 
> Kind Regards, asma
> 
> --------------------------Confidentiality--------------------------.
> This E-mail is confidential.  It should not be read, copied, disclosed or
> used by any person other than the intended recipient.  Unauthorised use,
> disclosure or copying by whatever medium is strictly prohibited and may be
> unlawful.  If you have received this E-mail in error please contact the
> sender immediately and delete the E-mail from your system.
> 
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to