<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: How to use the new Amazon AWS Signature in PHP</title>
	<atom:link href="http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/</link>
	<description>Official blog of Chris 'bbcentral' Rossi</description>
	<lastBuildDate>Sun, 08 Nov 2009 15:49:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bbcentral</title>
		<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/#comment-503</link>
		<dc:creator>bbcentral</dc:creator>
		<pubDate>Sun, 08 Nov 2009 15:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://bbcentral.wordpress.com/?p=187#comment-503</guid>
		<description>Everything is identical to the way it worked before August, you shouldn&#039;t have to change anything else. The order shouldn&#039;t matter, nor should adding other parameters. It&#039;s basically lines 5-12 that you can change safely (don&#039;t remove the timestamp parameter or else the code will break). 

Hope that helps! :)</description>
		<content:encoded><![CDATA[<p>Everything is identical to the way it worked before August, you shouldn&#8217;t have to change anything else. The order shouldn&#8217;t matter, nor should adding other parameters. It&#8217;s basically lines 5-12 that you can change safely (don&#8217;t remove the timestamp parameter or else the code will break). </p>
<p>Hope that helps! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mb</title>
		<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/#comment-501</link>
		<dc:creator>mb</dc:creator>
		<pubDate>Sat, 07 Nov 2009 17:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://bbcentral.wordpress.com/?p=187#comment-501</guid>
		<description>So what exactly is the output of this?  Is it the same API output (XML format) from before August?  Also, what if I wanted to use other parameters than you have listed?  What is the order, or would I have to play with it?</description>
		<content:encoded><![CDATA[<p>So what exactly is the output of this?  Is it the same API output (XML format) from before August?  Also, what if I wanted to use other parameters than you have listed?  What is the order, or would I have to play with it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eddg67</title>
		<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/#comment-420</link>
		<dc:creator>eddg67</dc:creator>
		<pubDate>Thu, 23 Jul 2009 19:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://bbcentral.wordpress.com/?p=187#comment-420</guid>
		<description>I noticed after trying to use your code sample that ur doing a  str_replace after already generating the $sig which could cause the signature not to match.

$sig = base64_encode(hash_hmac(&#039;sha256&#039;, $sig, SECRET_KEY, true));
$sig = str_replace(&#039;+&#039;,&#039;%2B&#039;,$sig);
$sig = str_replace(&#039;=&#039;,&#039;%3D&#039;,$sig);

Thanks again for posting. It really helped me get my class working.</description>
		<content:encoded><![CDATA[<p>I noticed after trying to use your code sample that ur doing a  str_replace after already generating the $sig which could cause the signature not to match.</p>
<p>$sig = base64_encode(hash_hmac(&#8217;sha256&#8242;, $sig, SECRET_KEY, true));<br />
$sig = str_replace(&#8216;+&#8217;,'%2B&#8217;,$sig);<br />
$sig = str_replace(&#8216;=&#8217;,'%3D&#8217;,$sig);</p>
<p>Thanks again for posting. It really helped me get my class working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eddg67</title>
		<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/#comment-418</link>
		<dc:creator>eddg67</dc:creator>
		<pubDate>Wed, 22 Jul 2009 21:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://bbcentral.wordpress.com/?p=187#comment-418</guid>
		<description>Thanks for the quick responsive. I am also trying to write a class to handle the new signature requirement where I was planning on including ur build signature method but have not got it too work yet.  Thanks for posting this example to get me on the right path :) .
So if u can post the revisions I would really like to see how u handle rebuilding the query string for Operation= ItemLookup.</description>
		<content:encoded><![CDATA[<p>Thanks for the quick responsive. I am also trying to write a class to handle the new signature requirement where I was planning on including ur build signature method but have not got it too work yet.  Thanks for posting this example to get me on the right path <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .<br />
So if u can post the revisions I would really like to see how u handle rebuilding the query string for Operation= ItemLookup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbcentral</title>
		<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/#comment-417</link>
		<dc:creator>bbcentral</dc:creator>
		<pubDate>Wed, 22 Jul 2009 17:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://bbcentral.wordpress.com/?p=187#comment-417</guid>
		<description>I probably didn&#039;t need to include that line, I reuse it later on in my script for another reason. Same thing with the $aws array, it&#039;s used later (I wrote my own custom class for all AWS requests).

I&#039;m tweaking my original code right now, there&#039;s a few types of queries that don&#039;t work with it. I&#039;ll try to update it sometime soon.</description>
		<content:encoded><![CDATA[<p>I probably didn&#8217;t need to include that line, I reuse it later on in my script for another reason. Same thing with the $aws array, it&#8217;s used later (I wrote my own custom class for all AWS requests).</p>
<p>I&#8217;m tweaking my original code right now, there&#8217;s a few types of queries that don&#8217;t work with it. I&#8217;ll try to update it sometime soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eddg67</title>
		<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/#comment-416</link>
		<dc:creator>eddg67</dc:creator>
		<pubDate>Wed, 22 Jul 2009 16:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://bbcentral.wordpress.com/?p=187#comment-416</guid>
		<description>What am I missing here ? When do u use $rebuilt_url ? Also why are u using an array to store $aws[&#039;url&#039;] ?</description>
		<content:encoded><![CDATA[<p>What am I missing here ? When do u use $rebuilt_url ? Also why are u using an array to store $aws['url'] ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbcentral</title>
		<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/#comment-400</link>
		<dc:creator>bbcentral</dc:creator>
		<pubDate>Thu, 02 Jul 2009 03:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://bbcentral.wordpress.com/?p=187#comment-400</guid>
		<description>That part of the code came from elsewhere, you could be right but I&#039;m not changing my code now. It works fine for me.</description>
		<content:encoded><![CDATA[<p>That part of the code came from elsewhere, you could be right but I&#8217;m not changing my code now. It works fine for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ulrich</title>
		<link>http://bbcentral.wordpress.com/2009/05/09/how-to-use-the-new-amazon-aws-signature-in-php/#comment-380</link>
		<dc:creator>Ulrich</dc:creator>
		<pubDate>Fri, 12 Jun 2009 16:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://bbcentral.wordpress.com/?p=187#comment-380</guid>
		<description>Hi,
why are you using uksort($params, &#039;strnatcmp&#039;);? Afaik ksort($params) would be better.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
why are you using uksort($params, &#8217;strnatcmp&#8217;);? Afaik ksort($params) would be better.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
