<?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 klog</title>
	<atom:link href="http://verens.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://verens.com</link>
	<description>klog - Kae&#039;s Log</description>
	<lastBuildDate>Tue, 10 Jan 2012 00:21:52 +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 jQuery maskImage plugin by David</title>
		<link>http://verens.com/2011/08/25/jquery-maskimage-plugin/#comment-3416</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 10 Jan 2012 00:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://verens.blogs.kvsites.ie/?p=1182#comment-3416</guid>
		<description>Thank you for the reply. After some digging I found this post http://blog.project-sierra.de/archives/1577 and it basically said the same thing you did. I usually run my webserver locally for PHP programing, but didn&#039;t think to try that for what seemed like a simple test.

Since I know the cause I am ok with deploying the script to a production environment knowing the security issues wont be there.

Thanks again!

David</description>
		<content:encoded><![CDATA[<p>Thank you for the reply. After some digging I found this post <a href="http://blog.project-sierra.de/archives/1577" rel="nofollow">http://blog.project-sierra.de/archives/1577</a> and it basically said the same thing you did. I usually run my webserver locally for PHP programing, but didn&#8217;t think to try that for what seemed like a simple test.</p>
<p>Since I know the cause I am ok with deploying the script to a production environment knowing the security issues wont be there.</p>
<p>Thanks again!</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery maskImage plugin by Kae Verens</title>
		<link>http://verens.com/2011/08/25/jquery-maskimage-plugin/#comment-3415</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Tue, 10 Jan 2012 00:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://verens.blogs.kvsites.ie/?p=1182#comment-3415</guid>
		<description>hi David,

browsers don&#039;t like letting you read files that are on your computer. otherwise you would have hackers writing JavaScripts that can read your files through Ajax and pass them on to whoever they wanted.

try running a web server on your local computer and run it through that instead.</description>
		<content:encoded><![CDATA[<p>hi David,</p>
<p>browsers don&#8217;t like letting you read files that are on your computer. otherwise you would have hackers writing JavaScripts that can read your files through Ajax and pass them on to whoever they wanted.</p>
<p>try running a web server on your local computer and run it through that instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery maskImage plugin by David</title>
		<link>http://verens.com/2011/08/25/jquery-maskimage-plugin/#comment-3414</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 09 Jan 2012 23:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://verens.blogs.kvsites.ie/?p=1182#comment-3414</guid>
		<description>When I try running the script locally from my file system for some basic testing (not from my webserver) I get an error and the effect fails.

Firebug&#039;s console gives me a security error &quot;Security error: 
var imageData=buffer.getImageData(0, 0, width, height);&quot;

Any ideas to get around this?</description>
		<content:encoded><![CDATA[<p>When I try running the script locally from my file system for some basic testing (not from my webserver) I get an error and the effect fails.</p>
<p>Firebug&#8217;s console gives me a security error &#8220;Security error:<br />
var imageData=buffer.getImageData(0, 0, width, height);&#8221;</p>
<p>Any ideas to get around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on multiple file uploads using HTML5 by Kae Verens</title>
		<link>http://verens.com/2009/12/28/multiple-file-uploads-using-html5/#comment-3316</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Sun, 06 Nov 2011 10:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=945#comment-3316</guid>
		<description>for the last two posters; i wrote this article because I was doing a HTML5 multiple file upload for KFM (a file manager), so that&#039;s why &quot;kfm&quot; is in the input. Of course, you could do this whatever way you want.

The point of the article was to illustrate how to convert PHP&#039;s file upload array into something useful.

Pat, do it whatever way you want!

pepkin88&#039;s foreach example in the comments above is more efficient and easier to read than what I did in the post.</description>
		<content:encoded><![CDATA[<p>for the last two posters; i wrote this article because I was doing a HTML5 multiple file upload for KFM (a file manager), so that&#8217;s why &#8220;kfm&#8221; is in the input. Of course, you could do this whatever way you want.</p>
<p>The point of the article was to illustrate how to convert PHP&#8217;s file upload array into something useful.</p>
<p>Pat, do it whatever way you want!</p>
<p>pepkin88&#8242;s foreach example in the comments above is more efficient and easier to read than what I did in the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on multiple file uploads using HTML5 by Kae Verens</title>
		<link>http://verens.com/2009/12/28/multiple-file-uploads-using-html5/#comment-3315</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Sun, 06 Nov 2011 10:39:42 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=945#comment-3315</guid>
		<description>ah! I misunderstood the original &quot;why can&#039;t you use foreach()&quot; as being about the original array.

yes, good point. in fact, I&#039;ve no idea why I used for() - maybe I was tired when I wrote it ;-)</description>
		<content:encoded><![CDATA[<p>ah! I misunderstood the original &#8220;why can&#8217;t you use foreach()&#8221; as being about the original array.</p>
<p>yes, good point. in fact, I&#8217;ve no idea why I used for() &#8211; maybe I was tired when I wrote it <img src='http://verens.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on multiple file uploads using HTML5 by Pat</title>
		<link>http://verens.com/2009/12/28/multiple-file-uploads-using-html5/#comment-3314</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Sun, 06 Nov 2011 05:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=945#comment-3314</guid>
		<description>can just do whatever I want for the files in the first &#039;for&#039; and save the &#039;foreach&#039;?</description>
		<content:encoded><![CDATA[<p>can just do whatever I want for the files in the first &#8216;for&#8217; and save the &#8216;foreach&#8217;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on multiple file uploads using HTML5 by pepkin88</title>
		<link>http://verens.com/2009/12/28/multiple-file-uploads-using-html5/#comment-3313</link>
		<dc:creator>pepkin88</dc:creator>
		<pubDate>Sat, 05 Nov 2011 20:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=945#comment-3313</guid>
		<description>I must ask: why is this so complicated? I&#039;m missing a point, why do you put name for input &quot;kfm_file&quot; (without brackets) in the first place. Whether the &quot;multiple&quot; argument is supported or not, you only operate on array, which make the code so much simpler, either JavaScript or PHP. Also you could use foreach loop as stated above.

Unless I missed some use cases in which those steps are required, then it could make sense.

Cheers.</description>
		<content:encoded><![CDATA[<p>I must ask: why is this so complicated? I&#8217;m missing a point, why do you put name for input &#8220;kfm_file&#8221; (without brackets) in the first place. Whether the &#8220;multiple&#8221; argument is supported or not, you only operate on array, which make the code so much simpler, either JavaScript or PHP. Also you could use foreach loop as stated above.</p>
<p>Unless I missed some use cases in which those steps are required, then it could make sense.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on multiple file uploads using HTML5 by pepkin88</title>
		<link>http://verens.com/2009/12/28/multiple-file-uploads-using-html5/#comment-3312</link>
		<dc:creator>pepkin88</dc:creator>
		<pubDate>Sat, 05 Nov 2011 20:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=945#comment-3312</guid>
		<description>Sorry, wrong :oops:

&lt;code&gt;foreach ($fdata[&#039;name&#039;] as $i =&gt; $d) {
 $files[] = array(
  &#039;name&#039; =&gt; $d,
  &#039;tmp_name&#039; =&gt; $fdata[&#039;tmp_name&#039;][$i]
 );
}&lt;/code&gt;

That&#039;s better.</description>
		<content:encoded><![CDATA[<p>Sorry, wrong <img src='http://verens.com/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p>
<p><code>foreach ($fdata['name'] as $i =&gt; $d) {<br />
 $files[] = array(<br />
  'name' =&gt; $d,<br />
  'tmp_name' =&gt; $fdata['tmp_name'][$i]<br />
 );<br />
}</code></p>
<p>That&#8217;s better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on multiple file uploads using HTML5 by pepkin88</title>
		<link>http://verens.com/2009/12/28/multiple-file-uploads-using-html5/#comment-3311</link>
		<dc:creator>pepkin88</dc:creator>
		<pubDate>Sat, 05 Nov 2011 20:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=945#comment-3311</guid>
		<description>Still, why not?
&lt;code&gt;foreach ($fdata as $i =&gt; $d) {
  $files[] = array(
    &#039;name&#039; =&gt; $d,
    &#039;tmp_name&#039; =&gt; $fdata[&#039;tmp_name&#039;][$i] // nasty comma
  );
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Still, why not?<br />
<code>foreach ($fdata as $i =&gt; $d) {<br />
  $files[] = array(<br />
    'name' =&gt; $d,<br />
    'tmp_name' =&gt; $fdata['tmp_name'][$i] // nasty comma<br />
  );<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on first and last saturday of a month by Kae Verens</title>
		<link>http://verens.com/2011/10/21/first-and-last-saturday-of-a-month/#comment-3267</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Sat, 22 Oct 2011 18:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://verens.blogs.kvsites.ie/?p=1212#comment-3267</guid>
		<description>hi Sharad - thanks!

I&#039;m not sure what you mean about the virtual hosts thing - I have never had a problem installing in either virtual hosts mode or in a standalone web server.

but then, most people use virtual hosts anyway.

do you mean virtual server?

if so; again, there should be no problem. I have my CMS running on the laptop I&#039;m typing on, and that&#039;s in Linux running on the bare metal of the machine (no virtual machines).

if you give me more detail, I can help debug. Or go to http://kvweb.me/ and post details in there.

also, here are instructions on installing a copy of the WebME CMS (which the book is based on) in a recent Fedora installation: http://verens.com/2011/10/05/installing-webme-in-fedora-16/</description>
		<content:encoded><![CDATA[<p>hi Sharad &#8211; thanks!</p>
<p>I&#8217;m not sure what you mean about the virtual hosts thing &#8211; I have never had a problem installing in either virtual hosts mode or in a standalone web server.</p>
<p>but then, most people use virtual hosts anyway.</p>
<p>do you mean virtual server?</p>
<p>if so; again, there should be no problem. I have my CMS running on the laptop I&#8217;m typing on, and that&#8217;s in Linux running on the bare metal of the machine (no virtual machines).</p>
<p>if you give me more detail, I can help debug. Or go to <a href="http://kvweb.me/" rel="nofollow">http://kvweb.me/</a> and post details in there.</p>
<p>also, here are instructions on installing a copy of the WebME CMS (which the book is based on) in a recent Fedora installation: <a href="http://verens.com/2011/10/05/installing-webme-in-fedora-16/" rel="nofollow">http://verens.com/2011/10/05/installing-webme-in-fedora-16/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

