<?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>Index of /andrejciho</title>
	<atom:link href="http://www.andrejciho.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andrejciho.com</link>
	<description>...about Linux, Windows, WebDev, etc.</description>
	<lastBuildDate>Mon, 18 Jan 2010 15:42:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Patch for Pods CMS 1.8.1 &#8211; mysql_real_escape_string</title>
		<link>http://www.andrejciho.com/wordpress/patch-for-pods-cms-1-8-1-mysql_real_escape_string/</link>
		<comments>http://www.andrejciho.com/wordpress/patch-for-pods-cms-1-8-1-mysql_real_escape_string/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 15:41:42 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=154</guid>
		<description><![CDATA[A patch to Pods CMS 1.8.1 to add a link_identifier as a second parameter to mysql_real_escape_string to avoid "access denied" errors]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://atlantawordcamp.com/" target="_blank">Wordcamp Atlanta</a> I learned about <a href="http://pods.uproot.us/" target="_blank">Pods CMS</a> &#8211; a powerful Wordpress plugin allowing you to build your content types, giving you an admin to add/edit/delete (kinda like RoR&#039;s scaffolding) and an easy way to pull it out of database in your template. Very powerful plugin. Needless to say another world of possibilities opened up for me.</p>
<p>After spending some time on setting things up on my local box I uploaded it to a staging environment on our server and noticed a &#034;mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user: &#039;nobody@localhost&#039;&#034; error.</p>
<p>If you look up <a href="http://php.net/manual/en/function.mysql-real-escape-string.php" target="_blank">mysql-real-escape-string</a> in the php manual you&#039;ll notice that the second and optional parameter is <em>link_identifier</em> (the db resource). The manual describes it as:</p>
<blockquote><p>The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect() is assumed. If no such link is found, it will try to create one as if mysql_connect() was called with no arguments. If no connection is found or established, an E_WARNING level error is generated.</p></blockquote>
<p>There might be another solution to the problem, for example changing a setting on the server, but if you don&#039;t know how to change it or don&#039;t have permissions to do so, you can modify code of Pods CMS so that anytime it calls mysql_real_escape_string it passes the link_identifier. Here is a <a href="http://www.andrejciho.com/wp-content/uploads/2010/01/mysql_real_escape_string_1.8.1.txt">patch</a> I created.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/wordpress/patch-for-pods-cms-1-8-1-mysql_real_escape_string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Relative Bookmarks for Wordpress Admin Pages</title>
		<link>http://www.andrejciho.com/wordpress/relative-bookmarks-for-wordpress-admin-pages/</link>
		<comments>http://www.andrejciho.com/wordpress/relative-bookmarks-for-wordpress-admin-pages/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 14:22:18 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=147</guid>
		<description><![CDATA[Get around wordpress admin menus quickly - on any wordpress blog]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/wordpress/relative-bookmarks-for-wordpress-admin-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comcast Monthly Issues</title>
		<link>http://www.andrejciho.com/rants/comcast-monthly-issues/</link>
		<comments>http://www.andrejciho.com/rants/comcast-monthly-issues/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 15:44:12 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=144</guid>
		<description><![CDATA[My monthly issues with Comcast where I go through the phases of denial, anger, bargaining, depression, and acceptance]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/rants/comcast-monthly-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PlannerX review</title>
		<link>http://www.andrejciho.com/product-review/plannerx-review/</link>
		<comments>http://www.andrejciho.com/product-review/plannerx-review/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 17:52:48 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[Product Review]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=126</guid>
		<description><![CDATA[Review of PlannerX - an add-on to Basecamp.]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/product-review/plannerx-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Script Executor</title>
		<link>http://www.andrejciho.com/general/sql-script-executor/</link>
		<comments>http://www.andrejciho.com/general/sql-script-executor/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 01:51:53 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=123</guid>
		<description><![CDATA[Execute .sql script file by simply pointing a php script to it]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/general/sql-script-executor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programs, tools, and websites that made my life easier</title>
		<link>http://www.andrejciho.com/general/programs-tools-and-websites-that-made-my-life-easier/</link>
		<comments>http://www.andrejciho.com/general/programs-tools-and-websites-that-made-my-life-easier/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 16:25:40 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=110</guid>
		<description><![CDATA[List of programs, tools, and websites that have made my life easier]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/general/programs-tools-and-websites-that-made-my-life-easier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning a ton, just behind on blogging</title>
		<link>http://www.andrejciho.com/general/learning-a-ton-just-behind-on-blogging/</link>
		<comments>http://www.andrejciho.com/general/learning-a-ton-just-behind-on-blogging/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 19:45:43 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=106</guid>
		<description><![CDATA[Some articles I've recently read and felt enriched by and tools I am trying out and liking so far]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/general/learning-a-ton-just-behind-on-blogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excerpt for Pages</title>
		<link>http://www.andrejciho.com/wordpress/excerpt-for-pages/</link>
		<comments>http://www.andrejciho.com/wordpress/excerpt-for-pages/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 01:59:38 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=105</guid>
		<description><![CDATA[Brings back excerpt entry field to page edit]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/wordpress/excerpt-for-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uptime-checker-script</title>
		<link>http://www.andrejciho.com/general/uptime-checker-script/</link>
		<comments>http://www.andrejciho.com/general/uptime-checker-script/#comments</comments>
		<pubDate>Wed, 28 May 2008 01:32:01 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/?p=103</guid>
		<description><![CDATA[Script that periodically checks if my home computer has connectivity and records the results]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/general/uptime-checker-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving WordPress to a different URL</title>
		<link>http://www.andrejciho.com/wordpress/moving-wordpress-to-a-different-url/</link>
		<comments>http://www.andrejciho.com/wordpress/moving-wordpress-to-a-different-url/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 15:48:41 +0000</pubDate>
		<dc:creator>Andrej</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.andrejciho.com/wordpress/moving-wordpress-to-a-different-url/</guid>
		<description><![CDATA[A set of DB queries to help switch the URL]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.andrejciho.com/wordpress/moving-wordpress-to-a-different-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
