<?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 : Dead Easy Excel Export</title>
	<atom:link href="http://www.edmondscommerce.co.uk/php/php-dead-easy-excel-export/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edmondscommerce.co.uk/php/php-dead-easy-excel-export/</link>
	<description>Freelance PHP Ecommerce and SEO Developer in the UK</description>
	<lastBuildDate>Tue, 31 Aug 2010 09:11:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave Gee</title>
		<link>http://www.edmondscommerce.co.uk/php/php-dead-easy-excel-export/comment-page-1/#comment-2501</link>
		<dc:creator>Dave Gee</dc:creator>
		<pubDate>Mon, 10 May 2010 21:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/php/php-dead-easy-excel-export/#comment-2501</guid>
		<description>Is my website outdated for today&#039;s programmers demands?</description>
		<content:encoded><![CDATA[<p>Is my website outdated for today&#8217;s programmers demands?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.edmondscommerce.co.uk/php/php-dead-easy-excel-export/comment-page-1/#comment-666</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 14 Jul 2008 09:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/php/php-dead-easy-excel-export/#comment-666</guid>
		<description>Note - on a unix/linux host this code might not work

to fix this try the following.

line 71 of the excel class

[php]
 function stream_open($path, $mode, $options, &amp;$opened_path)
    {
    	/* lets do it quick and dirty
        $url = parse_url($path);
        $this-&gt;xlsfilename = &#039;/&#039; . $url[&#039;host&#039;] . $url[&#039;path&#039;];
        $this-&gt;xlsfilename = $url[&#039;host&#039;] . $url[&#039;path&#039;];
        */
        $this-&gt;xlsfilename = str_replace(&#039;xlsfile://&#039;, &#039;&#039;, $path);
[/php]</description>
		<content:encoded><![CDATA[<p>Note - on a unix/linux host this code might not work</p>
<p>to fix this try the following.</p>
<p>line 71 of the excel class</p>
<div class="igBar"><span id="lphp-1"><a href="#" onclick="javascript:showPlainTxt('php-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-1">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> stream_open<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$path</span>, <span style="color:#0000FF;">$mode</span>, <span style="color:#0000FF;">$options</span>, &amp;<span style="color:#0000FF;">$opened_path</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/* lets do it quick and dirty</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp; $url = parse_url($path);</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;xlsfilename = '/' . $url['host'] . $url['path'];</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;xlsfilename = $url['host'] . $url['path'];</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp; */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$this</span>-&gt;<span style="color:#006600;">xlsfilename</span> = <a href="http://www.php.net/str_replace"><span style="color:#000066;">str_replace</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'xlsfile://'</span>, <span style="color:#FF0000;">''</span>, <span style="color:#0000FF;">$path</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
	</item>
</channel>
</rss>
