Re: [PHP] Best way to describe Doc as HTML

2001-01-26 Thread Alex Black
print "Content-type: text/html\n\n"; That's the "perl" method, because perl doesn't have any native functions for adding stuff to the response header, so you just print it :) header( "Content-type: test/html" ); The above is correct. _alex -- PHP General Mailing List

[PHP] Best way to describe Doc as HTML

2001-01-25 Thread Karl J. Stubsjoen
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:

Re: [PHP] Best way to describe Doc as HTML

2001-01-25 Thread php3
Addressed to: "Karl J. Stubsjoen" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Karl J. Stubsjoen" [EMAIL PROTECTED] Thu, 25 Jan 2001 08:36:43 -0700 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