<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fluffigt.com &#187; PHP</title>
	<atom:link href="http://fluffigt.com/cat/computers/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://fluffigt.com</link>
	<description>*poof* said fluff...</description>
	<lastBuildDate>Sat, 03 Dec 2011 13:30:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>6 Ways To Kill Your Servers &#8211; Learning How To Scale The Hard Way</title>
		<link>http://fluffigt.com/2010/09/16/6-ways-to-kill-your-servers-learning-how-to-scale-the-hard-way/</link>
		<comments>http://fluffigt.com/2010/09/16/6-ways-to-kill-your-servers-learning-how-to-scale-the-hard-way/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 14:03:41 +0000</pubDate>
		<dc:creator>mld</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[scalability]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://fluffigt.com/?p=1760</guid>
		<description><![CDATA[Good article over at HighScalability.com about what happens when a coder, even an experienced one, has to scale out a web site under time pressure. The most important lessons in my opinion are caching, tweaking configuration and stress testing.]]></description>
			<content:encoded><![CDATA[<p>Good article over at <a title="6 Ways to Kill Your Servers" href="http://highscalability.com/blog/2010/8/23/6-ways-to-kill-your-servers-learning-how-to-scale-the-hard-w.html" target="_blank">HighScalability.com</a> about what happens when a coder, even an experienced one, has to scale out a web site under time pressure.</p>
<p>The most important lessons in my opinion are caching, tweaking configuration and stress testing.</p>]]></content:encoded>
			<wfw:commentRss>http://fluffigt.com/2010/09/16/6-ways-to-kill-your-servers-learning-how-to-scale-the-hard-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No 404 page when using a static front page</title>
		<link>http://fluffigt.com/2008/04/04/no-404-page-when-using-a-static-front-page/</link>
		<comments>http://fluffigt.com/2008/04/04/no-404-page-when-using-a-static-front-page/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 16:40:41 +0000</pubDate>
		<dc:creator>mld</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://fluffigt.com/?p=90</guid>
		<description><![CDATA[I was setting up a wordpress blog (latest version, 2.5) a couple of days ago, and added the great plugin Google XML Sitemaps. I wanted a static frontpage with a couple of blog posts below it, so I modified the Kubrick theme a bit (added another template to use for that page, no biggie). When [...]]]></description>
			<content:encoded><![CDATA[<p>I was setting up a <a href="http://wordpress.org/" target="_blank">wordpress</a> blog (<a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/" target="_blank">latest version, 2.5</a>) a couple of days ago, and added the great plugin <a href="http://www.arnebrachhold.de/redir/sitemap-home/" target="_blank">Google <acronym title="eXtensible Markup Language">XML</acronym> Sitemaps</a>. I wanted a static frontpage with a couple of blog posts below it, so I modified the Kubrick theme a bit (added another template to use for that page, no biggie).</p>
<p>When taking a look at Google Sitemaps (somewhere  under <a href="http://www.google.com/webmasters/tools" target="_blank">Google Webmaster Tools</a>) I found that WordPress didn't respond to non-existing pages with a 404 not found, but all my pages after each other, rather like the posts on a dynamic front page.</p>
<p>Again I thought - no biggie! I modified the 404.php template to begin with the following:</p>
<pre style="padding-left: 30px;">&lt;?php</pre>
<pre style="padding-left: 30px;">ob_start();</pre>
<pre style="padding-left: 30px;">header("<acronym title="HyperText Transfer Protocol">HTTP</acronym>/1.1 404 Not Found");</pre>
<pre style="padding-left: 30px;">header("Status: 404 Not Found");</pre>
<pre style="padding-left: 30px;">...</pre>
<p>Still, no luck. Then I saw that WordPress didn't even read the 404.php page! I tried turning off the static front page and voilà, 404 works okay again.</p>
<p>I've searched a bit for this in the WordPress forums, but I'll report a bug ticket for them. Hopefully it will work in the next release <img src='http://fluffigt.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Newsflash:</h3>
<p>It only works this way if you haven't chosen a "Posts page". Maybe it's just an undocumented feature?</p>]]></content:encoded>
			<wfw:commentRss>http://fluffigt.com/2008/04/04/no-404-page-when-using-a-static-front-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony development with XAMPP on Windows</title>
		<link>http://fluffigt.com/2008/04/01/symfony-development-with-xampp-on-windows/</link>
		<comments>http://fluffigt.com/2008/04/01/symfony-development-with-xampp-on-windows/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 20:05:00 +0000</pubDate>
		<dc:creator>mld</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://fluffigt.com/2008/04/01/symfony-development-with-xampp-on-windows/</guid>
		<description><![CDATA[This is how I set up my windows laptop for development with Apache/MySQL/PHP/Symfony (XAMPP with Symfony). Download XAMPP Installer package. Install XAMPP - this is really just a case of next -&#62; next -&#62; okay. Since I'm not only using my laptop for development I chose not to start any services except for XAMPP when [...]]]></description>
			<content:encoded><![CDATA[<p>This is how I set up my windows laptop for development with Apache/MySQL/<acronym title="Pre-Hypertext Processing">PHP</acronym>/Symfony (<a href="http://www.apachefriends.org/en/xampp.html" target="_blank">XAMPP</a> with <a href="http://www.symfony-project.org/" target="_blank">Symfony</a>).</p>
<ol>
<li>Download XAMPP Installer package.</li>
<li>Install XAMPP - this is really just a case of next -&gt; next -&gt; okay.</li>
<li>Since I'm not only using my laptop for development I chose not to start any services except for XAMPP when windows starts.</li>
<li>Start (from XAMPP Control Panel) Apache and MySQL (and whatever other services you need).</li>
<li>Add <acronym title="Pre-Hypertext Processing">PHP</acronym> to your PATH.
<ol>
<li>Right-click "This Computer", choose properties.</li>
<li>Advanced tab -&gt; Systam variables (not sure, my system is in Swedish <img src='http://fluffigt.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</li>
<li>Add C:\xampp\php;C:\xampp\mysql\bin (if installed in default location) to the PATH variable.</li>
</ol>
</li>
<li>Upgrade Pear - pear upgrade pear</li>
<li>Find Symfony - pear channel-discover pear.symfony-project.com</li>
<li>Install Symfony -   pear install symfony/symfony</li>
<li>Done! Start playing around...</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://fluffigt.com/2008/04/01/symfony-development-with-xampp-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Symfony Project</title>
		<link>http://fluffigt.com/2007/09/30/symfony-project/</link>
		<comments>http://fluffigt.com/2007/09/30/symfony-project/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 13:20:35 +0000</pubDate>
		<dc:creator>mld</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://fluffigt.com/2007/09/30/symfony-project/</guid>
		<description><![CDATA[Symfony är ett PHP-framwork som verkar riktigt nice. Finns även en del bloggartiklar här och där som tipsar om bra sätt att göra saker på.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.symfony-project.com/" title="Symfony Framework">Symfony</a> är ett <acronym title="Pre-Hypertext Processing">PHP</acronym>-framwork som verkar riktigt nice. Finns även en del bloggartiklar <a href="http://www.karlkatzke.com/symfony-security-sometimes-404s-your-best-friend/">här</a> och <a href="http://www.karlkatzke.com/howto-implement-sfguard/">där</a> som tipsar om bra sätt att göra saker på.</p>]]></content:encoded>
			<wfw:commentRss>http://fluffigt.com/2007/09/30/symfony-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web2PDF</title>
		<link>http://fluffigt.com/2006/09/24/web2pdf/</link>
		<comments>http://fluffigt.com/2006/09/24/web2pdf/#comments</comments>
		<pubDate>Sun, 24 Sep 2006 12:32:11 +0000</pubDate>
		<dc:creator>mld</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://fluffigt.com/2006/09/24/web2pdf/</guid>
		<description><![CDATA[länk]]></description>
			<content:encoded><![CDATA[<p><a href="http://digitaljunkies.ca/dompdf/">länk</a></p>]]></content:encoded>
			<wfw:commentRss>http://fluffigt.com/2006/09/24/web2pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

