Raheel Hassan wrote:

* "malformed header from script. Bad header=\tPUBLIC "-//W3C//DTD XHTML 1.0:
dashboard.pl, referer: http://localhost/index.pl*";

Here are more details for the core
>
print    "<HTML>",
    "<HEAD>",

Ah, yeah. You are missing the HTTP headers, try this before printing the HTML:

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

You should probably have a look at CGI.pm.

At least, you should also add headers to set caching directives so dynamically generated content is not cached.

LG
Rene

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to