<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP Temporary Streams</title>
	<atom:link href="http://mikenaberezny.com/2008/10/17/php-temporary-streams/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikenaberezny.com/2008/10/17/php-temporary-streams/</link>
	<description></description>
	<lastBuildDate>Fri, 01 Jul 2011 12:51:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: mvug</title>
		<link>http://mikenaberezny.com/2008/10/17/php-temporary-streams/comment-page-1/#comment-135675</link>
		<dc:creator>mvug</dc:creator>
		<pubDate>Thu, 05 Feb 2009 08:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/?p=156#comment-135675</guid>
		<description>I get sometimes (with zend_pdf) the folowing error: 
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1572864 bytes) 

Is the temporary streams (php://temp) a way to fix this? Does anybody know if it&#039;s possible for zend_pdf to use a tempfile instead of memory?</description>
		<content:encoded><![CDATA[<p>I get sometimes (with zend_pdf) the folowing error:<br />
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1572864 bytes) </p>
<p>Is the temporary streams (php://temp) a way to fix this? Does anybody know if it&#8217;s possible for zend_pdf to use a tempfile instead of memory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://mikenaberezny.com/2008/10/17/php-temporary-streams/comment-page-1/#comment-124020</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Mon, 20 Oct 2008 12:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/?p=156#comment-124020</guid>
		<description>Ah, this post got me thinking about it again and discovered how to get compression filters working.
Have to remove the filter from the stream before try and read the compressed contents.</description>
		<content:encoded><![CDATA[<p>Ah, this post got me thinking about it again and discovered how to get compression filters working.<br />
Have to remove the filter from the stream before try and read the compressed contents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Marshall</title>
		<link>http://mikenaberezny.com/2008/10/17/php-temporary-streams/comment-page-1/#comment-123882</link>
		<dc:creator>Dave Marshall</dc:creator>
		<pubDate>Sun, 19 Oct 2008 17:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/?p=156#comment-123882</guid>
		<description>I&#039;ve been using the temporary streams for a while now and particularly for testing like you pointed out, but I found something a little strange when doing so. I found that you could open php://memory in read only mode, but still are able to write to it, which scuppered some testing I was doing on my own logging class. I reported a bug, but nobody seemed interested, probably as it&#039;s a strange use-case.

http://bugs.php.net/bug.php?id=44818</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using the temporary streams for a while now and particularly for testing like you pointed out, but I found something a little strange when doing so. I found that you could open php://memory in read only mode, but still are able to write to it, which scuppered some testing I was doing on my own logging class. I reported a bug, but nobody seemed interested, probably as it&#8217;s a strange use-case.</p>
<p><a href="http://bugs.php.net/bug.php?id=44818" rel="nofollow">http://bugs.php.net/bug.php?id=44818</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://mikenaberezny.com/2008/10/17/php-temporary-streams/comment-page-1/#comment-123806</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Sat, 18 Oct 2008 19:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/?p=156#comment-123806</guid>
		<description>I&#039;ve tried to use the memory streams in the past, together with the compression filters. But sadly it doesn&#039;t work. 

Think the compression filters require the fclose() to finalise things, by which point you&#039;ve lost the memory stream.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried to use the memory streams in the past, together with the compression filters. But sadly it doesn&#8217;t work. </p>
<p>Think the compression filters require the fclose() to finalise things, by which point you&#8217;ve lost the memory stream.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Naberezny</title>
		<link>http://mikenaberezny.com/2008/10/17/php-temporary-streams/comment-page-1/#comment-123880</link>
		<dc:creator>Mike Naberezny</dc:creator>
		<pubDate>Sat, 18 Oct 2008 16:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/?p=156#comment-123880</guid>
		<description>We used &lt;a href=&quot;http://interfax.net&quot; rel=&quot;nofollow&quot;&gt;interfax.net&lt;/a&gt;.  It provides a SOAP-based web service where you can send documents for faxing and then later poll their transmission status.</description>
		<content:encoded><![CDATA[<p>We used <a href="http://interfax.net" rel="nofollow">interfax.net</a>.  It provides a SOAP-based web service where you can send documents for faxing and then later poll their transmission status.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniel</title>
		<link>http://mikenaberezny.com/2008/10/17/php-temporary-streams/comment-page-1/#comment-123789</link>
		<dc:creator>daniel</dc:creator>
		<pubDate>Sat, 18 Oct 2008 15:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://mikenaberezny.com/?p=156#comment-123789</guid>
		<description>Interesting read. Could you tell a bit more about this fax integration? Do you simply send a pdf file to the machine on a network? And if so, what tools you&#039;re using for that (some native OS commands or pure php?)? Thanks</description>
		<content:encoded><![CDATA[<p>Interesting read. Could you tell a bit more about this fax integration? Do you simply send a pdf file to the machine on a network? And if so, what tools you&#8217;re using for that (some native OS commands or pure php?)? Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

