Click to See Complete Forum and Search --> : Headers Question


robindean
09-24-2007, 06:07 PM
I'd like to know if using php headers is the way to go versus using a variable to specify content in the generated code.

My example is that I've been using ...

$charset = '<meta http-equiv="content-type" content="text/html; charset=utf-8">';

... and then including that in the output on a per document basis. Should I be using php headers instead?

bokeh
09-24-2007, 07:31 PM
Should I be using php headers instead?Yes.