+header("Content-type: text/plain;charset=ISO-8859-1");
I think it would be better to insert whitespace before charset.
Content-type: text/plain; charset=ISO-8859-1
And same for include/layout.inc new config() array headers.
<URL: http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html#sec-14.18 >
<URL: http://www.w3.org/International/O-HTTP-charset >
This shows, that the ";" should stand alone, right after the token, without preceding whitespace:
http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html#sec-3.7
And on page 16 it is explicitly stated that tokens should not contain whitespace (SP).
BTW in the text there is only a rule that WS should not be between the content type and subtype, and between the attribute name and value. Otherwise WS is not defined in the text.
So strictly following the standard we should remove the space between Content-type: and text/plain as far as I read the text :)
Goba