<?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>ter Smitten&#039;s &#187; PHP</title>
	<atom:link href="http://blog.tersmitten.nl/archives/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.tersmitten.nl</link>
	<description>Geek stuff</description>
	<lastBuildDate>Fri, 03 Feb 2012 21:28:54 +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>How to convert a MySQL database and all its tables to UTF-8/InnoDB</title>
		<link>http://blog.tersmitten.nl/archives/1219</link>
		<comments>http://blog.tersmitten.nl/archives/1219#comments</comments>
		<pubDate>Thu, 16 Jun 2011 18:04:11 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Commandline]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Trac]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=1219</guid>
		<description><![CDATA[Today I ran into some Trac problems when trying to view a SVN changeset in the SVN browser. I read that these problems were caused by MySQL? so I tried `the suggested`. Because I had to do this for 3 Trac instances I created a little php (commandline) script to do the job. &#60; ?php [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/1219/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to debug SQL queries from a controller in cakePHP</title>
		<link>http://blog.tersmitten.nl/archives/1172</link>
		<comments>http://blog.tersmitten.nl/archives/1172#comments</comments>
		<pubDate>Sun, 12 Jun 2011 18:53:42 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cakePHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=1172</guid>
		<description><![CDATA[While debugging SQL queries with: &#60; ?php echo $this-&#62;element&#40;'sql_dump'&#41;; ?&#62; (in your layout) or DebugKit works great, you have to `render` for it to work. In this particular case that was a problem because I had an `exit;` statement in the middle of my controller to prevent redirection. The following statement was my rescue: $log [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/1172/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Slug generator</title>
		<link>http://blog.tersmitten.nl/archives/1145</link>
		<comments>http://blog.tersmitten.nl/archives/1145#comments</comments>
		<pubDate>Thu, 28 Apr 2011 12:30:19 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cakePHP]]></category>
		<category><![CDATA[Commandline]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=1145</guid>
		<description><![CDATA[For a project I was working on I was in desperate need for a tool to generate slugs. Of course there are like million functions that can do that. We have the Mootools function String.Slugify, we have cakePHP&#8217;s function Inflector::slug et cetera. But there are no commandline or online tools that use these functions. So [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/1145/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to overcome the unserialize error in cakephp 1.3.1 on Windows</title>
		<link>http://blog.tersmitten.nl/archives/977</link>
		<comments>http://blog.tersmitten.nl/archives/977#comments</comments>
		<pubDate>Thu, 03 Jun 2010 12:14:36 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=977</guid>
		<description><![CDATA[Yesterday I did an upgrade from cake 1.30 to 1.31 on my Windows 2003 server. Unfortunately there was a problem with the cache files: Notice (8): unserialize() [function.unserialize]: Error at offset 0 of 1391 bytes [CORE\cake\libs\cache\file.php, line 176] Fortunately, finding an solution wasn&#8217;t to hard. A removed trim() seemed to be the culprit: cake/libs/file.php View [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/977/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable php&#8217;s shell_exec() in CentOS (5.3)</title>
		<link>http://blog.tersmitten.nl/archives/678</link>
		<comments>http://blog.tersmitten.nl/archives/678#comments</comments>
		<pubDate>Mon, 14 Dec 2009 10:44:30 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=678</guid>
		<description><![CDATA[In CentOS (5.3) php&#8217;s shell_exec() function is disabled by default. When you try to use it you&#8217;ll see messages like this: PHP Warning:  shell_exec() has been disabled for security reasons in /var/www/... in your error_log files. I thought it had something to do with the safe_mode in /etc/php.ini, but it turned out I had to [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/678/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing (and running R scripts) with Komodo Edit</title>
		<link>http://blog.tersmitten.nl/archives/616</link>
		<comments>http://blog.tersmitten.nl/archives/616#comments</comments>
		<pubDate>Sun, 08 Nov 2009 14:02:34 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cran-r]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=616</guid>
		<description><![CDATA[Komodo Edit is a free, open source editor from dynamic language experts Whatever Your Language Komodo Edit supports PHP, Python, Ruby, Perl and Tcl, plus JavaScript, CSS, HTML and template languages like RHTML, Template-Toolkit, HTML-Smarty and Django. In combination with the SciViews-K extension you can also transform it into a R editor and GUI. This [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/616/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing osTicket on CentOS 5.3</title>
		<link>http://blog.tersmitten.nl/archives/199</link>
		<comments>http://blog.tersmitten.nl/archives/199#comments</comments>
		<pubDate>Tue, 27 Oct 2009 13:57:21 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[osTicket]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=199</guid>
		<description><![CDATA[First we have to download osTicket and make it a available via http: cd /var/www wget http://osticket.com/dl/osticket_1.6.rc5.tar.gz tar -xzvf osticket_1.6.rc5.tar.gz ln -s /var/www/osticket_1.6.rc5/upload /var/www/html/osticket Then we create a database by means of the MySQL client: mysql&#62; CREATE USER 'osticket'@'localhost' IDENTIFIED BY '****************'; &#160; GRANT USAGE ON * . * TO 'osticket'@'localhost' IDENTIFIED BY '****************' WITH [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/199/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Installing phpmyadmin in CentOS 5.3</title>
		<link>http://blog.tersmitten.nl/archives/172</link>
		<comments>http://blog.tersmitten.nl/archives/172#comments</comments>
		<pubDate>Tue, 27 Oct 2009 12:29:16 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=172</guid>
		<description><![CDATA[phpmyadmin isn&#8217;t in the default installed yum repositories. Therefore we have to enable a repository that does contain phpmyadmin. EPEL is such a repository. See here how to enable EPEL. After that it&#8217;s really simple: yum install phpmyadmin cd /etc/httpd/conf.d/ nano phpMyAdmin.conf and change allow from 127.0.0.1 to allow from 127.0.0.1 192.168.1.0/24 (for example) then: [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/172/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable (apache&#8217;s) server signature</title>
		<link>http://blog.tersmitten.nl/archives/29</link>
		<comments>http://blog.tersmitten.nl/archives/29#comments</comments>
		<pubDate>Tue, 15 Sep 2009 10:46:13 +0000</pubDate>
		<dc:creator>tersmitten</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.tersmitten.nl/?p=29</guid>
		<description><![CDATA[In the default configuration of Apache, any page will contain a full signature of the server. Server signatures contain valuable information about installed software and can be read (and exploited) by worms and hackers. Therefore is it safer to turn off this behavior. This is how you do it: Open Apache&#8217;s configuration file (httpd.conf or [...]]]></description>
		<wfw:commentRss>http://blog.tersmitten.nl/archives/29/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

