rss_create(); $channelInfo = iconv("CP949", "UTF-8", $rss_form['channelInfo']); $item = empty($rss_form['item']) ? '' : iconv("CP949", "UTF-8", $rss_form['item']); $host = 'http://'.$_SERVER["HTTP_HOST"].$_SERVER['PHP_SELF']; header("Content-type: text/xml; charset=utf-8"); echo " $channelInfo$item "; ?>