<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>XPM3_MIME::encode_header()</title>
<style>
body, pre {
font-family: Verdana;
font-size: 10pt;
}
</style>
</head>
<body bgcolor="#f1f3f5" topmargin="10" leftmargin="14">
<pre>
XPM3_MIME :: <i>string</i> <b>encode_header</b> ( <i>string</i> content [, <i>string</i> charset [, <i>string</i> encoding ]] )
<hr>
Encode a mail header value.
Default values are:
<i>string</i> charset: utf-8
<i>string</i> encoding: quoted-printable
Example:
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
echo XPM3_MIME::encode_header('XPM3 for PHP5', 'utf-8', 'base64');
// will print "=?utf-8?B?WFBNMyBmb3IgUEhQNQ==?="
</code></pre>
</td></tr>
</table>
<hr color="white">
[ <a style="color: blue; text-decoration: none" href="mailto:hide@address.com?subject=Comment XPM3_MIME encode_header">Comments</a> ]
Last update: Monday, January 22, 2007
</pre>
</body>
</html>