Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Why do some browsers show none of my output?

by royalanjr (Chaplain)
on May 03, 2000 at 00:42 UTC ( [id://9979]=perlquestion: print w/replies, xml ) Need Help??

royalanjr has asked for the wisdom of the Perl Monks concerning the following question:

They show up fine in Explorer, but Netscape shows nothing.
  • Comment on Why do some browsers show none of my output?

Replies are listed 'Best First'.
Re: Why won't scipts on an Apache server not show up when viewed with Netscape.
by turnstep (Parson) on May 03, 2000 at 04:42 UTC
    Sometimes, Netscape will not show anything (e.g. unclosed table tags are a good place to start your search), but View->Source will. Strange but true - and a good way to debug.
Re: Why won't scipts on an Apache server not show up when viewed with Netscape.
by btrott (Parson) on May 03, 2000 at 00:55 UTC
    What is showing up, then? Are you sure you're sending back the correct HTTP header? Make sure you're sending back a Content-Type of text/html:
    use CGI qw/:standard/; print header;
    Or, if you're using mod_perl:
    $r->content_type("text/html"); $r->send_http_header;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://9979]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found