<?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>Coen Coppens</title>
	<atom:link href="http://www.coencoppens.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coencoppens.nl</link>
	<description>Professional blog</description>
	<lastBuildDate>Thu, 18 Mar 2010 20:24:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>sIFR always on top of thickbox-lightwindow</title>
		<link>http://www.coencoppens.nl/sifr-always-on-top-of-thickbox-lightwindow/</link>
		<comments>http://www.coencoppens.nl/sifr-always-on-top-of-thickbox-lightwindow/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 16:06:28 +0000</pubDate>
		<dc:creator>Coen Coppens</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Lightwindow]]></category>
		<category><![CDATA[sifr]]></category>
		<category><![CDATA[thickbox]]></category>

		<guid isPermaLink="false">http://www.coencoppens.nl/?p=132</guid>
		<description><![CDATA[Sometimes I&#8217;m facing the problem where my sIFR texts always stay on top my page, like this:
Really annoying when you&#8217;re using Thickbox or Lightwindow to display a (fullscreen) picture. The solution is simple, but weird: 
With the following parameter the problem will be solved:
sIFR.replace(yourFont, {
  selector: 'h2',
  wmode: 'transparent',
  css: '.sIFR-root { [...]]]></description>
		<wfw:commentRss>http://www.coencoppens.nl/sifr-always-on-top-of-thickbox-lightwindow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Replace a string with another string in MySQL</title>
		<link>http://www.coencoppens.nl/replace-a-string-with-another-string-in-mysql/</link>
		<comments>http://www.coencoppens.nl/replace-a-string-with-another-string-in-mysql/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 15:19:34 +0000</pubDate>
		<dc:creator>Coen Coppens</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.coencoppens.nl/?p=99</guid>
		<description><![CDATA[This is a real timesaver. Instead of updating all your x records, you simple execute the following query:

UPDATE table SET column_name = REPLACE&#40;column_name,&#34;string_to_replace&#34;,&#34;string_new&#34;&#41;

In this example I replace all the é&#8217;s that exist in the database to its proper version:

UPDATE contents SET content = REPLACE&#40;content,&#34;é&#34;,&#34;&#38;amp;eacute;&#34;&#41;

Enjoy!
]]></description>
		<wfw:commentRss>http://www.coencoppens.nl/replace-a-string-with-another-string-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get the value of the last key in an array</title>
		<link>http://www.coencoppens.nl/how-to-get-the-value-of-the-last-key-in-an-array/</link>
		<comments>http://www.coencoppens.nl/how-to-get-the-value-of-the-last-key-in-an-array/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 11:58:51 +0000</pubDate>
		<dc:creator>Coen Coppens</dc:creator>
				<category><![CDATA[(Cake)PHP]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.coencoppens.nl/?p=65</guid>
		<description><![CDATA[Very often I find myself wanting to get only the value of the last key in an array. I used to do

sizeof&#40;$array&#41;;

to find out the number of total elements, so I knew the position of the last value. Today I ran into a much easier way to select it.
With the following line of code you [...]]]></description>
		<wfw:commentRss>http://www.coencoppens.nl/how-to-get-the-value-of-the-last-key-in-an-array/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>An easy way to create favicons</title>
		<link>http://www.coencoppens.nl/an-easy-way-to-create-favicons/</link>
		<comments>http://www.coencoppens.nl/an-easy-way-to-create-favicons/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 16:39:31 +0000</pubDate>
		<dc:creator>Coen Coppens</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[favicon]]></category>
		<category><![CDATA[generate]]></category>

		<guid isPermaLink="false">http://www.coencoppens.nl/?p=62</guid>
		<description><![CDATA[As a finishing touch your website should have a favicon. I won&#8217;t go into the reasons why, i&#8217;ll just give you an easy tool to create them.
On this website you can upload the image you want to convert. In return you get a favicon.ico file. This way you can generate an icon even when you [...]]]></description>
		<wfw:commentRss>http://www.coencoppens.nl/an-easy-way-to-create-favicons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lightwindow&#8217;s overlay height is too short</title>
		<link>http://www.coencoppens.nl/lightwindows-overlay-height-is-too-short/</link>
		<comments>http://www.coencoppens.nl/lightwindows-overlay-height-is-too-short/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 16:20:56 +0000</pubDate>
		<dc:creator>Coen Coppens</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Lightwindow]]></category>
		<category><![CDATA[overlay]]></category>

		<guid isPermaLink="false">http://www.coencoppens.nl/?p=3</guid>
		<description><![CDATA[When working on a project I ran into this problem where lightwindow didn&#8217;t function properly. In some cases the black/greyish overlay didn&#8217;t fill up the entire page, like so:

The reason for this is that the height doesn&#8217;t get calculated properly when you use ajax-requests on your page. So when you fetch data that makes your [...]]]></description>
		<wfw:commentRss>http://www.coencoppens.nl/lightwindows-overlay-height-is-too-short/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Hide your email address from bots</title>
		<link>http://www.coencoppens.nl/hide-your-email-address-from-bots/</link>
		<comments>http://www.coencoppens.nl/hide-your-email-address-from-bots/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 07:24:29 +0000</pubDate>
		<dc:creator>Coen Coppens</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[scramble]]></category>

		<guid isPermaLink="false">http://www.coencoppens.nl/?p=49</guid>
		<description><![CDATA[Very often you need to put one or more email addresses on a website, for instance on the contact page. Since there are a lot of harvest-bots out there that are eager to crawl your website and put the adresses in a spamlist, it&#8217;s smart to encrypt those addresses.
With the little webform on this page [...]]]></description>
		<wfw:commentRss>http://www.coencoppens.nl/hide-your-email-address-from-bots/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Safe Mode Error</title>
		<link>http://www.coencoppens.nl/safe-mode-error/</link>
		<comments>http://www.coencoppens.nl/safe-mode-error/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 18:27:12 +0000</pubDate>
		<dc:creator>Coen Coppens</dc:creator>
				<category><![CDATA[(Cake)PHP]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mode]]></category>
		<category><![CDATA[safe]]></category>

		<guid isPermaLink="false">http://www.coencoppens.nl/?p=19</guid>
		<description><![CDATA[When you have a fresh install of CakePHP 1.2 on your machine, the following error might appear:

Warning: realpath&#40;&#41; &#91;function.realpath&#93;: SAFE MODE Restriction in effect. The script whose uid is 1023 is not allowed to access /usr/share/php owned by uid 0 in &#38;lt;your_location&#38;gt;/HTML/cake/libs/configure.php on line 476


This can be solved by changing the following lines in /cake/libs/configure.php:

$path [...]]]></description>
		<wfw:commentRss>http://www.coencoppens.nl/safe-mode-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
