<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for UltraMega Tech.</title>
	<atom:link href="http://www.ultramegatech.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultramegatech.com</link>
	<description>Web development blog</description>
	<lastBuildDate>Wed, 11 Apr 2012 03:57:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Using a PHP Class to Store Configuration by HiSoRange</title>
		<link>http://www.ultramegatech.com/2010/02/php-class-to-store-configuration/comment-page-1/#comment-1968</link>
		<dc:creator>HiSoRange</dc:creator>
		<pubDate>Wed, 11 Apr 2012 03:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=817#comment-1968</guid>
		<description>it deleted the &quot;\re\turn \arr\ay( &#039;host&#039; =\&gt;&quot; without slashes ofc</description>
		<content:encoded><![CDATA[<p>it deleted the &#8220;\re\turn \arr\ay( &#8216;host&#8217; =\&gt;&#8221; without slashes ofc</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using a PHP Class to Store Configuration by HiSoRange</title>
		<link>http://www.ultramegatech.com/2010/02/php-class-to-store-configuration/comment-page-1/#comment-1967</link>
		<dc:creator>HiSoRange</dc:creator>
		<pubDate>Wed, 11 Apr 2012 03:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=817#comment-1967</guid>
		<description>If you want to make simplier then use $_ENV[&#039;DB_HOST&#039;]. If you want it to make more practical like you don&#039;t wana or can&#039;t step in ftp to the site then put configurations into editable form, yaml and xml nice but need to be parsed what is unnecessay most of time, use nativ php source

 &#039;localhost&#039;, &#039;user&#039; =&gt; &#039;me&#039; );

and call it with 

function config( $ns )
{
    return ( object ) include( &#039;path/to/config/dir/&#039; . strtr( $ns, &#039;.&#039;, DIRECTORY_SEPARATOR ) . &#039;.php&#039; );

}

and you can have something like this

config( &#039;system.database&#039; )-&gt;host;
$dbconf = config( &#039;system.database&#039; );

But Config\DB_HOST cool it&#039;s age of namespaces anyway.</description>
		<content:encoded><![CDATA[<p>If you want to make simplier then use $_ENV['DB_HOST']. If you want it to make more practical like you don&#8217;t wana or can&#8217;t step in ftp to the site then put configurations into editable form, yaml and xml nice but need to be parsed what is unnecessay most of time, use nativ php source</p>
<p> &#8216;localhost&#8217;, &#8216;user&#8217; =&gt; &#8216;me&#8217; );</p>
<p>and call it with </p>
<p>function config( $ns )<br />
{<br />
    return ( object ) include( &#8216;path/to/config/dir/&#8217; . strtr( $ns, &#8216;.&#8217;, DIRECTORY_SEPARATOR ) . &#8216;.php&#8217; );</p>
<p>}</p>
<p>and you can have something like this</p>
<p>config( &#8216;system.database&#8217; )-&gt;host;<br />
$dbconf = config( &#8216;system.database&#8217; );</p>
<p>But Config\DB_HOST cool it&#8217;s age of namespaces anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accessing the Command Line From PHP by Ahsan</title>
		<link>http://www.ultramegatech.com/2009/02/accessing-the-command-line-from-php/comment-page-1/#comment-1965</link>
		<dc:creator>Ahsan</dc:creator>
		<pubDate>Thu, 05 Apr 2012 11:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=225#comment-1965</guid>
		<description>I have heard about the BackTick operator for the first time.

Excellent operator.</description>
		<content:encoded><![CDATA[<p>I have heard about the BackTick operator for the first time.</p>
<p>Excellent operator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySQL Prepared Statements in PHP by Nichlas</title>
		<link>http://www.ultramegatech.com/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-1964</link>
		<dc:creator>Nichlas</dc:creator>
		<pubDate>Wed, 04 Apr 2012 02:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-1964</guid>
		<description>Trying to use &quot;LIKE&quot; with prepared statements but it only throws me an error whatever I try.
What&#039;s the exact syntax for use with wildcards and the LIKE statement?</description>
		<content:encoded><![CDATA[<p>Trying to use &#8220;LIKE&#8221; with prepared statements but it only throws me an error whatever I try.<br />
What&#8217;s the exact syntax for use with wildcards and the LIKE statement?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using a PHP Class to Store Configuration by Steve</title>
		<link>http://www.ultramegatech.com/2010/02/php-class-to-store-configuration/comment-page-1/#comment-1963</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 03 Apr 2012 17:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=817#comment-1963</guid>
		<description>Why? Parsing an external data structure or accessing a database would add lots of unnecessary overhead. You&#039;d have to examine your requirements to determine if that would be worth it.</description>
		<content:encoded><![CDATA[<p>Why? Parsing an external data structure or accessing a database would add lots of unnecessary overhead. You&#8217;d have to examine your requirements to determine if that would be worth it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using a PHP Class to Store Configuration by Lloyd</title>
		<link>http://www.ultramegatech.com/2010/02/php-class-to-store-configuration/comment-page-1/#comment-1962</link>
		<dc:creator>Lloyd</dc:creator>
		<pubDate>Tue, 03 Apr 2012 13:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=817#comment-1962</guid>
		<description>It would be better to put configuration information in a yaml file or xml file or even in a database.</description>
		<content:encoded><![CDATA[<p>It would be better to put configuration information in a yaml file or xml file or even in a database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a TinyURL Clone by Web Design Wide</title>
		<link>http://www.ultramegatech.com/2009/03/creating-a-tinyurl-clone/comment-page-1/#comment-1961</link>
		<dc:creator>Web Design Wide</dc:creator>
		<pubDate>Sun, 01 Apr 2012 09:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=268#comment-1961</guid>
		<description>Thanks for your tutorials, but it never work when i&#039;m trying its</description>
		<content:encoded><![CDATA[<p>Thanks for your tutorials, but it never work when i&#8217;m trying its</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Create an Upload Progress Bar With PHP and jQuery by Amr</title>
		<link>http://www.ultramegatech.com/2010/10/create-an-upload-progress-bar-with-php-and-jquery/comment-page-2/#comment-1960</link>
		<dc:creator>Amr</dc:creator>
		<pubDate>Thu, 29 Mar 2012 16:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=929#comment-1960</guid>
		<description>Hi Steve,
I tried you method but I got this error on the console 

&quot;NetworkError: 500 Internal Server Error - http://blazewebsolutions.com/bar/getprogress.php?uid=37515ea7b0151583b8c61351c271d3c9&amp;t=1333038880819&quot;
getpro...8880819

I have uploadprogress ext installed and I can see it on my phpinfo 
so whats the problem?</description>
		<content:encoded><![CDATA[<p>Hi Steve,<br />
I tried you method but I got this error on the console </p>
<p>&#8220;NetworkError: 500 Internal Server Error &#8211; <a href="http://blazewebsolutions.com/bar/getprogress.php?uid=37515ea7b0151583b8c61351c271d3c9&#038;t=1333038880819" rel="nofollow">http://blazewebsolutions.com/bar/getprogress.php?uid=37515ea7b0151583b8c61351c271d3c9&#038;t=1333038880819</a>&#8221;<br />
getpro&#8230;8880819</p>
<p>I have uploadprogress ext installed and I can see it on my phpinfo<br />
so whats the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP: Recursive Functions by Steve</title>
		<link>http://www.ultramegatech.com/2010/02/php-recursive-functions/comment-page-1/#comment-1959</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 28 Mar 2012 23:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=820#comment-1959</guid>
		<description>Your way is better. It makes the function way more portable.</description>
		<content:encoded><![CDATA[<p>Your way is better. It makes the function way more portable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP: Recursive Functions by ivicajimi</title>
		<link>http://www.ultramegatech.com/2010/02/php-recursive-functions/comment-page-1/#comment-1958</link>
		<dc:creator>ivicajimi</dc:creator>
		<pubDate>Wed, 28 Mar 2012 22:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=820#comment-1958</guid>
		<description>Thank you, thank you, thank you! I&#039;ve just started learning php and this helped me a lot. I just changed few lines in your function, instead of using global $cats, I added one more argument to breadcrumb function - $catArray, since I get this array once in page and use it a lot for other stuff. Is it better to use method I used (with breadcumbs($id,$catArray) ) or the one You use (with global)?</description>
		<content:encoded><![CDATA[<p>Thank you, thank you, thank you! I&#8217;ve just started learning php and this helped me a lot. I just changed few lines in your function, instead of using global $cats, I added one more argument to breadcrumb function &#8211; $catArray, since I get this array once in page and use it a lot for other stuff. Is it better to use method I used (with breadcumbs($id,$catArray) ) or the one You use (with global)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

