<?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 Josh Highland</title>
	<atom:link href="http://joshhighland.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshhighland.com/blog</link>
	<description>the living internet</description>
	<lastBuildDate>Mon, 14 May 2012 13:25:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Mac: Rename all files names in a directory to lower case by Rob Aldred</title>
		<link>http://joshhighland.com/blog/2011/07/14/rename-all-files-names-in-a-directory-to-lower-case/comment-page-1/#comment-154766</link>
		<dc:creator>Rob Aldred</dc:creator>
		<pubDate>Mon, 14 May 2012 13:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/?p=14671#comment-154766</guid>
		<description>Cheers Josh.
We wouldn&#039;t have these problems if Apple just used a case-sensitive file system by default.</description>
		<content:encoded><![CDATA[<p>Cheers Josh.<br />
We wouldn&#8217;t have these problems if Apple just used a case-sensitive file system by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on hacking the Microsoft Natural Keyboard 4000 by jorjj</title>
		<link>http://joshhighland.com/blog/2006/09/14/hacking-the-microsoft-natural-keyboard-4000/comment-page-2/#comment-153707</link>
		<dc:creator>jorjj</dc:creator>
		<pubDate>Wed, 09 May 2012 21:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/2006/09/14/hacking-the-microsoft-natural-keyboard-4000/#comment-153707</guid>
		<description>Resubmitting...Josh, could you re-post the commands.xml/.zip file? It appears to be missing from the link to the other site. Thanks!</description>
		<content:encoded><![CDATA[<p>Resubmitting&#8230;Josh, could you re-post the commands.xml/.zip file? It appears to be missing from the link to the other site. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using cURL and PHP to upload files through a form post by Savman</title>
		<link>http://joshhighland.com/blog/2010/11/27/using-curl-and-php-to-upload-files-through-a-form-post/comment-page-1/#comment-153188</link>
		<dc:creator>Savman</dc:creator>
		<pubDate>Tue, 08 May 2012 04:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/?p=14559#comment-153188</guid>
		<description>Hi, Josh Highland
   thanks for the response.I make a successful attempt in my local host.I an doubting that is it possible to upload file to https protected site??</description>
		<content:encoded><![CDATA[<p>Hi, Josh Highland<br />
   thanks for the response.I make a successful attempt in my local host.I an doubting that is it possible to upload file to https protected site??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using cURL and PHP to upload files through a form post by Josh Highland</title>
		<link>http://joshhighland.com/blog/2010/11/27/using-curl-and-php-to-upload-files-through-a-form-post/comment-page-1/#comment-153060</link>
		<dc:creator>Josh Highland</dc:creator>
		<pubDate>Mon, 07 May 2012 16:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/?p=14559#comment-153060</guid>
		<description>Yeah, the file at &quot;$api_url&quot; should take the data that is posted to it, and do something with it. In the case of the files, this would be to write them to disk.</description>
		<content:encoded><![CDATA[<p>Yeah, the file at &#8220;$api_url&#8221; should take the data that is posted to it, and do something with it. In the case of the files, this would be to write them to disk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on timthumb.php returns a 404 Error in WordPress by Jay</title>
		<link>http://joshhighland.com/blog/2010/05/20/timthumb-php-returns-a-404-error-in-wordpress/comment-page-1/#comment-152675</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Sun, 06 May 2012 01:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/?p=1199#comment-152675</guid>
		<description>Thank-you so much for the advice - much appreciated - changed permissions and presto I have thumbnail images!!!!</description>
		<content:encoded><![CDATA[<p>Thank-you so much for the advice &#8211; much appreciated &#8211; changed permissions and presto I have thumbnail images!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on hacking the Microsoft Natural Keyboard 4000 by jorjj</title>
		<link>http://joshhighland.com/blog/2006/09/14/hacking-the-microsoft-natural-keyboard-4000/comment-page-2/#comment-151563</link>
		<dc:creator>jorjj</dc:creator>
		<pubDate>Tue, 01 May 2012 15:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/2006/09/14/hacking-the-microsoft-natural-keyboard-4000/#comment-151563</guid>
		<description>Josh, could you re-post the commands.xml/.zip file?  It appears to be missing from the link to the other site.  Thanks!</description>
		<content:encoded><![CDATA[<p>Josh, could you re-post the commands.xml/.zip file?  It appears to be missing from the link to the other site.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using cURL and PHP to upload files through a form post by Savman</title>
		<link>http://joshhighland.com/blog/2010/11/27/using-curl-and-php-to-upload-files-through-a-form-post/comment-page-1/#comment-150456</link>
		<dc:creator>Savman</dc:creator>
		<pubDate>Thu, 26 Apr 2012 06:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/?p=14559#comment-150456</guid>
		<description>I am trying to upload a file from my localhost using curl before implementing it in my live site
I have used
$thumbnailPath=’Sunset.jpg’;//(since the image is in the same folder) 
$filePath=’sav.doc’;//(this is the file to be uploaded along with)
$postFields = array();  
//files
 $postFields[&#039;file&#039;] = &quot;@$filePath&quot;;
 
//get the extension of the image file
$tumbnailExtention = preg_replace(&#039;/^.*\.([^.]+)$/D&#039;, &#039;$1&#039;, $thumbnailPath);
$postFields[&#039;thumbnail&#039;] = &quot;@$thumbnailPath;type=image/$tumbnailExtention&quot;;
 
//metaData
$postFields[&#039;title&#039;] = &quot;$title&quot;;
$postFields[&#039;description&#039;] = &quot;$description&quot;;

//since I am using localhost I avoided these parameters
//$postFields[&#039;tags&#039;] = &quot;&quot;;
//$postFields[&#039;licenseinfo&#039;] = &quot;&quot;;
//$postFields[&#039;token&#039;] = &quot;&quot;; 
 
$curl_handle = curl_init(); 
curl_setopt($curl_handle, CURLOPT_URL, $api_url);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl_handle, CURLOPT_POST, true);
curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $http_post_fields); 
 
//execute the API Call
$returned_data = curl_exec($curl_handle);

Now here came the real problem for me, what is the code to be written in page indicate by $api_url? This is the page that is called by curl and all the posted values are passed but what should be done from this page, is codes to be written in it is to save the file to a specific folder(ie move_uploaded_file)
And what the value of $http_post_fields to be assigned.

I really got to make it work,stucked badly.</description>
		<content:encoded><![CDATA[<p>I am trying to upload a file from my localhost using curl before implementing it in my live site<br />
I have used<br />
$thumbnailPath=’Sunset.jpg’;//(since the image is in the same folder)<br />
$filePath=’sav.doc’;//(this is the file to be uploaded along with)<br />
$postFields = array();<br />
//files<br />
 $postFields['file'] = &#8220;@$filePath&#8221;;</p>
<p>//get the extension of the image file<br />
$tumbnailExtention = preg_replace(&#8216;/^.*\.([^.]+)$/D&#8217;, &#8216;$1&#8242;, $thumbnailPath);<br />
$postFields['thumbnail'] = &#8220;@$thumbnailPath;type=image/$tumbnailExtention&#8221;;</p>
<p>//metaData<br />
$postFields['title'] = &#8220;$title&#8221;;<br />
$postFields['description'] = &#8220;$description&#8221;;</p>
<p>//since I am using localhost I avoided these parameters<br />
//$postFields['tags'] = &#8220;&#8221;;<br />
//$postFields['licenseinfo'] = &#8220;&#8221;;<br />
//$postFields['token'] = &#8220;&#8221;; </p>
<p>$curl_handle = curl_init();<br />
curl_setopt($curl_handle, CURLOPT_URL, $api_url);<br />
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);<br />
curl_setopt($curl_handle, CURLOPT_POST, true);<br />
curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $http_post_fields); </p>
<p>//execute the API Call<br />
$returned_data = curl_exec($curl_handle);</p>
<p>Now here came the real problem for me, what is the code to be written in page indicate by $api_url? This is the page that is called by curl and all the posted values are passed but what should be done from this page, is codes to be written in it is to save the file to a specific folder(ie move_uploaded_file)<br />
And what the value of $http_post_fields to be assigned.</p>
<p>I really got to make it work,stucked badly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on replacing the hardrive of an ipod by Paul</title>
		<link>http://joshhighland.com/blog/2005/12/24/replacing-the-hardrive-of-an-ipod/comment-page-24/#comment-150270</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 25 Apr 2012 04:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/2005/12/24/replacing-the-hardrive-of-an-ipod/#comment-150270</guid>
		<description>It keeps going and going.  Internal drive will spin up click and then go down repeatedly.  Sounds like a stuck head on the drive.  Apparently not.  Drive is fine.  IDE connectors must become bad (open) from running on battery over time.

Opened up IPOD 4th Generation with my fingernails and knife, unplugged and plug hard drive back in, closed it up, reset IPOD with hold on/off, Menu and Select buttons, then request for wall charger, plug into MacBook, and restored via ITunes and sync music.  I am back in business in less than 20 minutes. Thank you very much.

Paul</description>
		<content:encoded><![CDATA[<p>It keeps going and going.  Internal drive will spin up click and then go down repeatedly.  Sounds like a stuck head on the drive.  Apparently not.  Drive is fine.  IDE connectors must become bad (open) from running on battery over time.</p>
<p>Opened up IPOD 4th Generation with my fingernails and knife, unplugged and plug hard drive back in, closed it up, reset IPOD with hold on/off, Menu and Select buttons, then request for wall charger, plug into MacBook, and restored via ITunes and sync music.  I am back in business in less than 20 minutes. Thank you very much.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Straight Edge Manifesto by Michael Avila</title>
		<link>http://joshhighland.com/blog/randomness/sxe-manifesto/comment-page-1/#comment-149696</link>
		<dc:creator>Michael Avila</dc:creator>
		<pubDate>Sun, 22 Apr 2012 07:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/sxe-manifesto/#comment-149696</guid>
		<description>Hey Josh-
I was looking at a friends profile (megspeakslove,) on Instagram and noticed your name and why it sounded familiar. I realized that I helped you out at the Apple Store a few days ago. So I took a look at your blog and saw that you&#039;re straight edge. Awesome, man! I&#039;m also straight edge and was happy to read this entry. Thanks for spreading the word!
Michael</description>
		<content:encoded><![CDATA[<p>Hey Josh-<br />
I was looking at a friends profile (megspeakslove,) on Instagram and noticed your name and why it sounded familiar. I realized that I helped you out at the Apple Store a few days ago. So I took a look at your blog and saw that you&#8217;re straight edge. Awesome, man! I&#8217;m also straight edge and was happy to read this entry. Thanks for spreading the word!<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on UIPickerView &#8211; spinning multiple components by Chris H</title>
		<link>http://joshhighland.com/blog/2009/09/17/uipickerview-spinning-multiple-components/comment-page-1/#comment-149376</link>
		<dc:creator>Chris H</dc:creator>
		<pubDate>Fri, 20 Apr 2012 17:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://joshhighland.com/blog/?p=834#comment-149376</guid>
		<description>Nice post mate. I just discovered the same issue while using MonoTouch, good to have confirmation that it&#039;s a &#039;quirk&#039; of the SDK and nothing in-between.</description>
		<content:encoded><![CDATA[<p>Nice post mate. I just discovered the same issue while using MonoTouch, good to have confirmation that it&#8217;s a &#8216;quirk&#8217; of the SDK and nothing in-between.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 1/20 queries in 0.257 seconds using disk: basic
Object Caching 386/396 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: joshhighland.com.s3.amazonaws.com

Served from: joshhighland.com @ 2012-05-22 02:58:30 -->
