Re: mysql connection failing as CGI



ianatkinsonbsc@xxxxxxxxx wrote:
but the output is no different, i.e. it still works as expected from
the command line but outputs the same HTML code when viewed in a
browser:

Add this near the top of your code:

use CGI::Carp qw{ fatalsToBrowser warningsToBrowser };

That will let you see STDERR in your browser... there might be
something informative there.

--
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)

.



Relevant Pages

  • Re: Hmmmm, strange ?
    ... It shows up nicely Centred in various different Browser Window Sizes ... The HTML Code that has been Generated by the combination of the ... each of the Links has a whole load of extra Tags ...
    (uk.people.silversurfers)
  • Re: Outlook Express prints all messages in HTML code.
    ... It seems his in house tech guy suggested that he set his browser with Google ... MS-MVP Outlook Express ... The real problem is the messages can only be printed in HTML code. ... there are no .TMP files on the list. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: formatting in a text box
    ... > different browser is used. ... It's on the drawing tool bar. ... View the page in HTML code mode? ... Use an HTML validator. ...
    (microsoft.public.frontpage.programming)
  • Re: Outlook Express prints all messages in HTML code.
    ... Did you also go and make/reset IE the default browser? ... How to Make Internet Explorer the Default Web Browser ... The real problem is the messages can only be printed in HTML code. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: window.open
    ... Firefox works perfectly. ... A word about viewing html code directly from your browser. ...
    (comp.lang.javascript)