<?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>Mads &#039;zephid&#039; Madsen &#187; PHP</title>
	<atom:link href="http://www.zephid.dk/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zephid.dk</link>
	<description>Life is too short for bad code!</description>
	<lastBuildDate>Mon, 22 Feb 2010 04:04:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>oid vs bytea in Postgresql</title>
		<link>http://www.zephid.dk/2008/08/09/oid-vs-bytea-in-postgresql/</link>
		<comments>http://www.zephid.dk/2008/08/09/oid-vs-bytea-in-postgresql/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 12:27:25 +0000</pubDate>
		<dc:creator>Mads Madsen</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[bytea]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[oid]]></category>
		<category><![CDATA[pg_lo_create]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.zephid.dk/?p=130</guid>
		<description><![CDATA[Okay, here is the deal, I am working on a project which requires me to store files in my database. But I have recently just switched to postgresql from mysql, so I had to do some research on what methods postgresql offers for file storage. In mysql GLOB would have been my choice, but postgresql [...]]]></description>
		<wfw:commentRss>http://www.zephid.dk/2008/08/09/oid-vs-bytea-in-postgresql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Test af webspell</title>
		<link>http://www.zephid.dk/2008/08/05/test-af-webspell/</link>
		<comments>http://www.zephid.dk/2008/08/05/test-af-webspell/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 15:04:54 +0000</pubDate>
		<dc:creator>Mads Madsen</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[webspell]]></category>

		<guid isPermaLink="false">http://www.zephid.dk/?p=119</guid>
		<description><![CDATA[Okay, jeg har hørt en masse omkring webspell, et CMS til klaner, så jeg tænkte lige jeg ville teste systemet ud, og se om det nu også var så godt som alle siger det er. Installationen Jeg udpakkede webspell på min webserver og åbnede den i min browser, og fik en fejl meddelse smidt i [...]]]></description>
		<wfw:commentRss>http://www.zephid.dk/2008/08/05/test-af-webspell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Safe Email function</title>
		<link>http://www.zephid.dk/2007/07/13/safe-email-function/</link>
		<comments>http://www.zephid.dk/2007/07/13/safe-email-function/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 05:31:57 +0000</pubDate>
		<dc:creator>Mads Madsen</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.zephid.dk/2007/07/13/safe-email-function/</guid>
		<description><![CDATA[This should be a spambot safe way to return emails out on a webpage, it prints the email out with javascript with random substrings. function InsertMail($mail) { if ($mail=='') return ''; $mail = str_replace(array('@',':','.'), array('@',':','.'), $mail); $len = strlen($mail); $i=0; while($i&#60; $len) { $c = mt_rand(1,4); $par[] = (substr($mail, $i, $c)); $i += $c; } [...]]]></description>
		<wfw:commentRss>http://www.zephid.dk/2007/07/13/safe-email-function/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Check for valid email.</title>
		<link>http://www.zephid.dk/2007/07/09/check-for-valid-email/</link>
		<comments>http://www.zephid.dk/2007/07/09/check-for-valid-email/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 00:40:33 +0000</pubDate>
		<dc:creator>Mads Madsen</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.zephid.dk/2007/07/09/check-for-valid-email/</guid>
		<description><![CDATA[I needed to check if an e-mail was valid using PHP for my projects, I modified a script I got else where (Can&#8217;t remember) so it would also check if the domain has a MX record. This will NOT work on Windows platforms! valid_email.txt]]></description>
		<wfw:commentRss>http://www.zephid.dk/2007/07/09/check-for-valid-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Security by Example</title>
		<link>http://www.zephid.dk/2007/06/27/php-security-by-example/</link>
		<comments>http://www.zephid.dk/2007/06/27/php-security-by-example/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 00:21:15 +0000</pubDate>
		<dc:creator>Mads Madsen</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.zephid.dk/2007/06/27/php-security-by-example/</guid>
		<description><![CDATA[Nice flash presentation that will provide you with a good foundation on how to make your PHP apps more secure. read more &#124; digg story]]></description>
		<wfw:commentRss>http://www.zephid.dk/2007/06/27/php-security-by-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimize PHP and Accelerate Apache</title>
		<link>http://www.zephid.dk/2007/06/27/optimize-php-and-accelerate-apache/</link>
		<comments>http://www.zephid.dk/2007/06/27/optimize-php-and-accelerate-apache/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 23:36:27 +0000</pubDate>
		<dc:creator>Mads Madsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.zephid.dk/2007/06/27/optimize-php-and-accelerate-apache/</guid>
		<description><![CDATA[As the load on an application increases, the bottlenecks in the underlying infrastructure become more apparent in the form of slow response to user requests. This article discusses many of the server configuration items that can make or break an application&#8217;s performance and focuses on steps you can take to optimize Apache and PHP. read [...]]]></description>
		<wfw:commentRss>http://www.zephid.dk/2007/06/27/optimize-php-and-accelerate-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.537 seconds -->
