<?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>Mon, 23 Jan 2012 12:45:20 +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 Reloading Images Using JavaScript by Alexander Ewering</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1941</link>
		<dc:creator>Alexander Ewering</dc:creator>
		<pubDate>Mon, 23 Jan 2012 12:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1941</guid>
		<description>Nice hint, though very verbose code.

Optimized version:

document.getElementById(id).src = document.getElementById(id).src.split(&#039;?&#039;)[0]+&#039;?&#039;+(new Date().getTime());

(The v= isn&#039;t necessary as the parameter is not used anyway)</description>
		<content:encoded><![CDATA[<p>Nice hint, though very verbose code.</p>
<p>Optimized version:</p>
<p>document.getElementById(id).src = document.getElementById(id).src.split(&#8216;?&#8217;)[0]+&#8217;?'+(new Date().getTime());</p>
<p>(The v= isn&#8217;t necessary as the parameter is not used anyway)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Create an Upload Progress Bar With PHP and jQuery by Jade</title>
		<link>http://www.ultramegatech.com/2010/10/create-an-upload-progress-bar-with-php-and-jquery/comment-page-1/#comment-1940</link>
		<dc:creator>Jade</dc:creator>
		<pubDate>Fri, 20 Jan 2012 16:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=929#comment-1940</guid>
		<description>Hi Steve, 
   I am new to php. What necessary changes to the scripts if the form contains three fields for uploads? The user is asked to choose at most three image files to upload. I am not sure how to use your scripts, like do i need to provide three &quot;$uid&quot;s so that everything works? 

The php script upload that i made is working already and need this progress bar for the user.

Please help. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi Steve,<br />
   I am new to php. What necessary changes to the scripts if the form contains three fields for uploads? The user is asked to choose at most three image files to upload. I am not sure how to use your scripts, like do i need to provide three &#8220;$uid&#8221;s so that everything works? </p>
<p>The php script upload that i made is working already and need this progress bar for the user.</p>
<p>Please help. Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Create an Upload Progress Bar With PHP and jQuery by FLIN</title>
		<link>http://www.ultramegatech.com/2010/10/create-an-upload-progress-bar-with-php-and-jquery/comment-page-1/#comment-1937</link>
		<dc:creator>FLIN</dc:creator>
		<pubDate>Mon, 16 Jan 2012 20:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=929#comment-1937</guid>
		<description>Hi steve,

I need do some check in server side and can I get messge from server side(from upload.php file)?</description>
		<content:encoded><![CDATA[<p>Hi steve,</p>
<p>I need do some check in server side and can I get messge from server side(from upload.php file)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reloading Images Using JavaScript by Guy</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1936</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Sun, 15 Jan 2012 06:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1936</guid>
		<description>@the JQuery fanboy - without Javascript there would be no JQuery.</description>
		<content:encoded><![CDATA[<p>@the JQuery fanboy &#8211; without Javascript there would be no JQuery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Modifying Templates Using DOMDocument In PHP by Ricardo</title>
		<link>http://www.ultramegatech.com/2009/07/modifying-templates-using-domdocument-in-php/comment-page-1/#comment-1935</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Fri, 13 Jan 2012 04:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=551#comment-1935</guid>
		<description>Hi, I would like to ask you if using this technique to use as the way to modify html templates in a site would be very slow? I am thinking of three possibilities: loading html with file_get_contents and modifying the templates with str_replace, or using only PHP to generate html (I know this is against of having php code and html separate), or using phpQuery to modify the html templates. I am tempted to use the last approach, but I am afraid that this would cause my sites to load slowly. I think phpQuery uses DOM, so I think it has more overhead. I am concerned about memory usage too. I know that is the never ending dilemma of using APIs and frameworks. If this is not going to be very slow, I would like to implement this to enjoy the power it would give, to implement a whole plugin system, etc.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, I would like to ask you if using this technique to use as the way to modify html templates in a site would be very slow? I am thinking of three possibilities: loading html with file_get_contents and modifying the templates with str_replace, or using only PHP to generate html (I know this is against of having php code and html separate), or using phpQuery to modify the html templates. I am tempted to use the last approach, but I am afraid that this would cause my sites to load slowly. I think phpQuery uses DOM, so I think it has more overhead. I am concerned about memory usage too. I know that is the never ending dilemma of using APIs and frameworks. If this is not going to be very slow, I would like to implement this to enjoy the power it would give, to implement a whole plugin system, etc.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Degradable Tabs With jQuery UI by TECHFLAPS &#124; 34 Excellent Tutorials About How To Create And Use jQuery Tabs</title>
		<link>http://www.ultramegatech.com/2009/09/degradable-tabs-with-jquery-ui/comment-page-1/#comment-1934</link>
		<dc:creator>TECHFLAPS &#124; 34 Excellent Tutorials About How To Create And Use jQuery Tabs</dc:creator>
		<pubDate>Tue, 10 Jan 2012 02:30:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=651#comment-1934</guid>
		<description>[...] DEGRADABLE TABS WITH JQUERY UI [...]</description>
		<content:encoded><![CDATA[<p>[...] DEGRADABLE TABS WITH JQUERY UI [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Create an Upload Progress Bar With PHP and jQuery by nils45324</title>
		<link>http://www.ultramegatech.com/2010/10/create-an-upload-progress-bar-with-php-and-jquery/comment-page-1/#comment-1933</link>
		<dc:creator>nils45324</dc:creator>
		<pubDate>Sun, 08 Jan 2012 07:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=929#comment-1933</guid>
		<description>hi,thanks for this great article.i got the progress bar working fine..only problem is ..i dont see the uploaded files..i checked all over tmp folders,changed path but no luck..not getting any errors.any ideas ?</description>
		<content:encoded><![CDATA[<p>hi,thanks for this great article.i got the progress bar working fine..only problem is ..i dont see the uploaded files..i checked all over tmp folders,changed path but no luck..not getting any errors.any ideas ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySQL Prepared Statements in PHP by WildOne</title>
		<link>http://www.ultramegatech.com/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-1932</link>
		<dc:creator>WildOne</dc:creator>
		<pubDate>Fri, 06 Jan 2012 02:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-1932</guid>
		<description>Awesome article!

I do have one question though if I may. I&#039;m in the processing of porting over all my code into MySQLi prepared statements mainly for it&#039;s security abilities but I&#039;ve ran into a snag when trying to display multiple results on one page.

============= CODE =============
&lt;?php

//Display numbers 1 - 20;

echo &quot;&quot;;
	if($stmt-&gt;num_rows == NULL){
		echo &quot;No results found.&quot;;
	}else{
		while($stmt-&gt;fetch()){
		
    		echo &quot;&quot;.$numbers.&quot;&quot;; 
		}
		
	}
echo &quot;&quot;;

?&gt;
======== END CODE ============

Now, the above code works to display dynamic data stored in the db, but if I were to place another block of code, either the exact same fetch request or one requesting data from another table, both joined and not joined, under the first block of code, the results do not get displayed. 

Why is this? I can do it using regular MySQL methods but not when using prepared statements.

Also, I&#039;ve tried both keeping the stmt closed and open for testing purposes in each request block but still no luck.</description>
		<content:encoded><![CDATA[<p>Awesome article!</p>
<p>I do have one question though if I may. I&#8217;m in the processing of porting over all my code into MySQLi prepared statements mainly for it&#8217;s security abilities but I&#8217;ve ran into a snag when trying to display multiple results on one page.</p>
<p>============= CODE =============<br />
&lt;?php</p>
<p>//Display numbers 1 &#8211; 20;</p>
<p>echo &quot;&#8221;;<br />
	if($stmt-&gt;num_rows == NULL){<br />
		echo &#8220;No results found.&#8221;;<br />
	}else{<br />
		while($stmt-&gt;fetch()){</p>
<p>    		echo &#8220;&#8221;.$numbers.&#8221;";<br />
		}</p>
<p>	}<br />
echo &#8220;&#8221;;</p>
<p>?&gt;<br />
======== END CODE ============</p>
<p>Now, the above code works to display dynamic data stored in the db, but if I were to place another block of code, either the exact same fetch request or one requesting data from another table, both joined and not joined, under the first block of code, the results do not get displayed. </p>
<p>Why is this? I can do it using regular MySQL methods but not when using prepared statements.</p>
<p>Also, I&#8217;ve tried both keeping the stmt closed and open for testing purposes in each request block but still no luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using SSH in PHP by Marcos</title>
		<link>http://www.ultramegatech.com/2010/01/using-ssh-in-php/comment-page-1/#comment-1931</link>
		<dc:creator>Marcos</dc:creator>
		<pubDate>Fri, 30 Dec 2011 23:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=810#comment-1931</guid>
		<description>Excelente artigo cara! O portal do PHP tem as funções e a teoria de como utilizá-la, mas ainda falta exemplos para facilitar o entendimento na utilização, e você fez isso muito bem, vou até publicar um artigo no meu blog, só que diferente!

Obrigado!
-----------------------------------------------------------------------------------------------------------------
Great article man! The portal has the PHP functions and the theory of how to use it, but still lack examples to facilitate understanding in the use, and you did it very well, I&#039;ll even post an article on my blog, but different!

Thank you!</description>
		<content:encoded><![CDATA[<p>Excelente artigo cara! O portal do PHP tem as funções e a teoria de como utilizá-la, mas ainda falta exemplos para facilitar o entendimento na utilização, e você fez isso muito bem, vou até publicar um artigo no meu blog, só que diferente!</p>
<p>Obrigado!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Great article man! The portal has the PHP functions and the theory of how to use it, but still lack examples to facilitate understanding in the use, and you did it very well, I&#8217;ll even post an article on my blog, but different!</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySQL Prepared Statements in PHP by blendergasket</title>
		<link>http://www.ultramegatech.com/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-1929</link>
		<dc:creator>blendergasket</dc:creator>
		<pubDate>Tue, 13 Dec 2011 20:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-1929</guid>
		<description>Thanks for this! It was really concise and gave me exactly what I needed.</description>
		<content:encoded><![CDATA[<p>Thanks for this! It was really concise and gave me exactly what I needed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

