<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - 첨부파일 관련 IE 와의 문제...]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=3179&amp;type=atom"/>
	<updated>2007-05-04T14:29:15Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=3179</id>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 첨부파일 관련 IE 와의 문제...]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=18074#p18074"/>
			<content type="html"><![CDATA[<p><a href="http://forum.tattersite.com/ko/viewtopic.php?id=3073">http://forum.tattersite.com/ko/viewtopic.php?id=3073</a> 관련 토픽인듯 싶습니다.</p>]]></content>
			<author>
				<name><![CDATA[lunamoth]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=56</uri>
			</author>
			<updated>2007-05-04T14:29:15Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=18074#p18074</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[첨부파일 관련 IE 와의 문제...]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=18068#p18068"/>
			<content type="html"><![CDATA[<p>파일을 첨부하고, 파일을 클릭하면 뜨는 창(열기, 다른이름으로 저장을 선택하는 창)에서 열기를 선택할 경우 파일이 제대로 열리지 않는 문제가 있습니다. </p><p>IE6 에서 발생하는 현상이고 (7이나 5에서는 모르겠네요.) 아래와 같이 blog/attachment/index.php 에서 cache-control 관련된 header 를 출력 해주면 간단히 해결할 수 있습니다. <img src="http://forum.tattersite.com/ko/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><div class="quotebox"><blockquote><p>header(&quot;Cache-control: private&quot;);<br />header(&#039;Content-Disposition: attachment; filename=&quot;&#039; . UTF8::convert($attachment[&#039;label&#039;]) . &#039;&quot;&#039;);<br />header(&#039;Content-Transfer-Encoding: binary&#039;);<br />header(&#039;Last-Modified: &#039; . Timestamp::getRFC1123GMT($fstat[&#039;mtime&#039;]));<br />header(&#039;Content-Length: &#039; . $fstat[&#039;size&#039;]);<br />header(&#039;Content-Type: &#039; . $attachment[&#039;mime&#039;]);</p></blockquote></div><p>cache-control 종류와 관련해서는 rfc 문서를 보면 자세히 나오는데 private, no-cache, public 들 중 어떤 걸 쓰는게 좋일지까지는 잘 모르겠네요.</p>]]></content>
			<author>
				<name><![CDATA[정태영]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=1327</uri>
			</author>
			<updated>2007-05-04T09:42:19Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=18068#p18068</id>
		</entry>
</feed>
