<?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 on: Array versus String in CURLOPT_POSTFIELDS	</title>
	<atom:link href="https://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields/feed" rel="self" type="application/rss+xml" />
	<link>https://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields</link>
	<description>Web Programming, Linux System Administation, and Entrepreneurship in Athens Georgia</description>
	<lastBuildDate>Fri, 21 Oct 2011 20:58:37 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>
		By: Piter		</title>
		<link>https://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields/comment-page-1#comment-2795</link>

		<dc:creator><![CDATA[Piter]]></dc:creator>
		<pubDate>Fri, 21 Oct 2011 20:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/?p=362#comment-2795</guid>

					<description><![CDATA[If you want send a file using a post, you have to add &#039;@&#039; before file location in value.

Thx for good article.]]></description>
			<content:encoded><![CDATA[<p>If you want send a file using a post, you have to add &#8216;@&#8217; before file location in value.</p>
<p>Thx for good article.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chuck Frankel		</title>
		<link>https://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields/comment-page-1#comment-2786</link>

		<dc:creator><![CDATA[Chuck Frankel]]></dc:creator>
		<pubDate>Wed, 12 Oct 2011 23:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/?p=362#comment-2786</guid>

					<description><![CDATA[What about execution times between the two?]]></description>
			<content:encoded><![CDATA[<p>What about execution times between the two?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rich		</title>
		<link>https://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields/comment-page-1#comment-2663</link>

		<dc:creator><![CDATA[Rich]]></dc:creator>
		<pubDate>Wed, 11 May 2011 11:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/?p=362#comment-2663</guid>

					<description><![CDATA[Thanks for the post - works like a dream!]]></description>
			<content:encoded><![CDATA[<p>Thanks for the post &#8211; works like a dream!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Podnikatel		</title>
		<link>https://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields/comment-page-1#comment-1827</link>

		<dc:creator><![CDATA[Podnikatel]]></dc:creator>
		<pubDate>Sun, 21 Nov 2010 19:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/?p=362#comment-1827</guid>

					<description><![CDATA[Great article!

But for send urlencoded form, I recommend use this:

curl_setopt($curl_object, CURLOPT_POSTFIELDS, http_build_query($data, &#039;&#039;, &#039;&#038;&#039;));

Function http_build_query make url encoding for us with very easy and simply way. Instead foreach cycle...]]></description>
			<content:encoded><![CDATA[<p>Great article!</p>
<p>But for send urlencoded form, I recommend use this:</p>
<p>curl_setopt($curl_object, CURLOPT_POSTFIELDS, http_build_query($data, &#8221;, &#8216;&amp;&#8217;));</p>
<p>Function http_build_query make url encoding for us with very easy and simply way. Instead foreach cycle&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kerr		</title>
		<link>https://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields/comment-page-1#comment-1812</link>

		<dc:creator><![CDATA[Kerr]]></dc:creator>
		<pubDate>Thu, 21 Oct 2010 00:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/?p=362#comment-1812</guid>

					<description><![CDATA[Thank you so much for posting this information!  I was pulling my hair out with POSTing whilst developing a RESTful wrapper class with cURL.]]></description>
			<content:encoded><![CDATA[<p>Thank you so much for posting this information!  I was pulling my hair out with POSTing whilst developing a RESTful wrapper class with cURL.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dol		</title>
		<link>https://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields/comment-page-1#comment-1802</link>

		<dc:creator><![CDATA[dol]]></dc:creator>
		<pubDate>Mon, 04 Oct 2010 08:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/?p=362#comment-1802</guid>

					<description><![CDATA[If you use the PHP5 function &#039;http_build_query&#039; your code will be a few line shorter. http_build_query also do urlencoding for key and value.]]></description>
			<content:encoded><![CDATA[<p>If you use the PHP5 function &#8216;http_build_query&#8217; your code will be a few line shorter. http_build_query also do urlencoding for key and value.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
