For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > October 2006 > Re: Undesired Html code "Content-Type: text/html; charset=ISO-8859-1 1"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Undesired Html code "Content-Type: text/html; charset=ISO-8859-1 1"
Paul Lalli

2006-10-30, 6:55 pm

Martini wrote:
> I have built a script that generates html code, and at the end of each
> page I get always this text.
>
> Content-Type: text/html; charset=ISO-8859-1 1
>
> Does anybody know how to solve this issue? Thank you.
>
> This is basically the code (inside a perl script) that generates the
> html.
>
> print "Content-type: text/html\n\n";
> print<<EOF;
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
> />
> <title>Documento sin título</title>
> </head>
> <body>
> <h2>Testing</h2>
> </body>
> </html>
> EOF


That code works fine.

Try showing something that isn't "basically" your code, but is
"actually" your code.

Paul Lalli

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com