Best way to describe Doc as HTML
| From: | Karl J. Stubsjoen | Date: | Thu, 25 Jan 2001 15:36:43 +0000 |
| Subject: | Best way to describe Doc as HTML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-36630@lists.php.net to get a copy of this message | ||
Hello, So I think I've found 3 ways to describe the HTML Doc as "HTML".
Which one is the best?
1) Via MetTag (this was generated in Dreamweaver):
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
2) Print Statement at top of page:
print "Content-type: text/html\n\n";
3) Using the PHP Header command:
header( "Content-type: test/html" );
What do you think?