<?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>Lost-In-Code &#187; PHP</title>
	<atom:link href="http://www.lost-in-code.com/category/programming/php-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com</link>
	<description>Web Development Resources</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:07:21 +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>PHP: HTML to PDF</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-html-to-pdf/</link>
		<comments>http://www.lost-in-code.com/programming/php-code/php-html-to-pdf/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 14:19:02 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Convert HTML to PDF]]></category>
		<category><![CDATA[Create PDF files]]></category>
		<category><![CDATA[DomPDF]]></category>
		<category><![CDATA[Generate PDF files with PHP]]></category>
		<category><![CDATA[HTML to PDF]]></category>
		<category><![CDATA[PDF Library]]></category>
		<category><![CDATA[PHP DomPDF]]></category>
		<category><![CDATA[PHP HTML]]></category>
		<category><![CDATA[PHP HTML to PDF]]></category>
		<category><![CDATA[PHP PDF]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=399</guid>
		<description><![CDATA[I&#8217;ve pretty much tried all the PDF libraries out there for saving HTML to PDF appropriately and correctly using PHP and came to a conclusion (continue reading). The one that worked the fastest and most efficiently was the HTML to PDF class on PHP Classes but eventually this EasySW remote HTML to PDF service in [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/php-code/php-html-to-pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: URL inside Regex</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-url-inside-regex/</link>
		<comments>http://www.lost-in-code.com/programming/php-code/php-url-inside-regex/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 11:15:19 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Dynamically put URL in regular expression]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP REGEX]]></category>
		<category><![CDATA[preg_match_all]]></category>
		<category><![CDATA[preg_quote]]></category>
		<category><![CDATA[preg_replace]]></category>
		<category><![CDATA[Regular Expression Escaping]]></category>
		<category><![CDATA[Regular Expressions]]></category>
		<category><![CDATA[Special characters in regular expression]]></category>
		<category><![CDATA[URL in regular expression]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=383</guid>
		<description><![CDATA[Using special, regular expression characters in regular expressions require you to escape them in the regular expression pattern. I had an issue with dynamically getting an array of URLs from HREF attribute from links using PHP preg_match_all and then wanted to replace this array of URLs dynamically in a loop again with their Bit.ly links [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/php-code/php-url-inside-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DomPDF images not working</title>
		<link>http://www.lost-in-code.com/programming/php-code/dompdf-images-not-working/</link>
		<comments>http://www.lost-in-code.com/programming/php-code/dompdf-images-not-working/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 19:41:44 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[DomPDF]]></category>
		<category><![CDATA[DomPDF images broken]]></category>
		<category><![CDATA[DomPDF issue with images]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Images not working]]></category>
		<category><![CDATA[PDF images not displaying]]></category>
		<category><![CDATA[PDF images not working]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=375</guid>
		<description><![CDATA[Are you having problems with images not displaying in DomPDF generated PDFs? The probable reason is because you&#8217;re linking your images in HTML with a path from the script or with an absolute URL like this: &#60;img src=&#34;images/myimage.jpg&#34; /&#62; OR &#60;img src=&#34;http://domain.com/images/myimage.jpg&#34; /&#62; The solution is to change the image SRC to the absolute path [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/php-code/dompdf-images-not-working/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Turn off error reporting on your production site</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/turn-off-error-reporting-on-your-production-site/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/turn-off-error-reporting-on-your-production-site/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 10:01:39 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[error_reporting]]></category>
		<category><![CDATA[notices]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[warnings]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=129</guid>
		<description><![CDATA[On a production site, you would most likely want to hide all possible PHP errors, warnings and notices from your users for both usability, presentational and security purposes. For development and debugging purposes, you would want to turn on error_reporting and display all error messages so that you can debug your code and ensure that [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/turn-off-error-reporting-on-your-production-site/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Install WordPress via Command Line</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/install-wordpress-via-command-line/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/install-wordpress-via-command-line/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 23:53:32 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=70</guid>
		<description><![CDATA[I wrote a useful article/tutorial over at BloggingRocket which guides you through the process of installing WordPress with Shell Access. Please feel free to check it out and comment.]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/install-wordpress-via-command-line/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CakePHP : Change view file from controller</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/</link>
		<comments>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 19:04:57 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[render]]></category>
		<category><![CDATA[view]]></category>
		<category><![CDATA[view file]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66</guid>
		<description><![CDATA[With CakePHP, the controller core automatically detects the file name of the view file which needs to be rendered from a controller action. You might want to reuse an existent view for an action or specify a different file name. For example, if you have a controller named &#8220;Users&#8221; and you execute a controller action [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>WordPress.com Stats Stopped Working</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/wordpresscom-stats-stopped-working/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/wordpresscom-stats-stopped-working/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 22:48:13 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[wordpress.com stats]]></category>
		<category><![CDATA[wp_footer]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=64</guid>
		<description><![CDATA[I recently integrated a blog and documentation base into the Tribulant.com website and noticed after a few days that my WordPress.com stats stopped working completely after switching the theme. I&#8217;ve been puzzled about this for a few days now and managed to figure out that, out of idiocy, I completely forgot to call the wp_footer [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/wordpresscom-stats-stopped-working/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PHP: Increase memory limit</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/</link>
		<comments>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 13:40:55 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[dedicated]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[memory_limit]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP Limits]]></category>
		<category><![CDATA[PHP memory limit]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[php_value]]></category>
		<category><![CDATA[Server Limits]]></category>
		<category><![CDATA[shared hosting]]></category>
		<category><![CDATA[Shared Web Hosting]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59</guid>
		<description><![CDATA[Have you ever received a fatal error on your server similar to the one below when you tried to execute a script? The fatal error shown below, indicates that your PHP configuration has a memory limit set and the script which you are executing is trying to allocate more memory than what is available for [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>WordPress : Using jQuery library with your plugin or theme</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-jquery-library-with-your-plugin-or-theme/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-jquery-library-with-your-plugin-or-theme/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 23:20:05 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[noconflict]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=57</guid>
		<description><![CDATA[When you develop a WordPress plugin or theme, you might want to make use of the jQuery library included and distributed with the WordPress package. The jQuery library is located inside the &#8220;wp-includes/js/jquery/&#8221; folder. Even though you know what the location of the jQuery library is, I do not recommend that you reference this script [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-jquery-library-with-your-plugin-or-theme/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>WordPress : Translate a Plugin</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/wordpress-translate-a-plugin/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/wordpress-translate-a-plugin/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 00:32:38 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[localize]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[translate]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=48</guid>
		<description><![CDATA[First off, you have to know that not all WordPress plugins can be translated. The plugin developer(s) had to take the necessary steps such as using the WordPress __() and _e() functions and load_plugin_textdomain() in order to parse the strings/text of the plugin through the localization system. If you have a plugin with the ability [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/wordpress-translate-a-plugin/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
	</channel>
</rss>

