가격비교 엔진페이지 메모리 사용 개선

This commit is contained in:
chicpro
2015-10-13 16:20:45 +09:00
parent 7580253511
commit 34aa3fd0d3
10 changed files with 117 additions and 89 deletions

View File

@ -84,7 +84,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
// 포인트
$it_point = get_item_point($row);
echo <<< HEREDOC
$str = <<< HEREDOC
{$lt}begin{$gt}
{$lt}mapid{$gt}{$row['it_id']}
{$lt}pname{$gt}{$row['it_name']}
@ -114,13 +114,13 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
{$lt}ftend{$gt}
HEREDOC;
// 091223 : 네이버에서는 아직 utf-8 을 지원하지 않고 있음
echo iconv('utf-8', 'euc-kr', $str);
}
$content = ob_get_contents();
ob_end_clean();
// 091223 : 네이버에서는 아직 utf-8 을 지원하지 않고 있음
$content = iconv('utf-8', 'euc-kr', $content);
echo $content;
?>