<?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: Gotcha on Scraping .NET Applications with PHP and cURL</title>
	<atom:link href="http://matthewturland.com/2010/06/30/gotcha-on-scraping-net-applications-with-php-and-curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://matthewturland.com/2010/06/30/gotcha-on-scraping-net-applications-with-php-and-curl/</link>
	<description></description>
	<lastBuildDate>Sat, 31 Dec 2011 15:29:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: EvNix</title>
		<link>http://matthewturland.com/2010/06/30/gotcha-on-scraping-net-applications-with-php-and-curl/comment-page-1/#comment-5246</link>
		<dc:creator>EvNix</dc:creator>
		<pubDate>Sun, 04 Jul 2010 12:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=365#comment-5246</guid>
		<description>nice tutorial i prefer using snoopy class though!
i guess snoopy uses fsockopen
but i am not very sure</description>
		<content:encoded><![CDATA[<p>nice tutorial i prefer using snoopy class though!<br />
i guess snoopy uses fsockopen<br />
but i am not very sure</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Turland</title>
		<link>http://matthewturland.com/2010/06/30/gotcha-on-scraping-net-applications-with-php-and-curl/comment-page-1/#comment-5203</link>
		<dc:creator>Matthew Turland</dc:creator>
		<pubDate>Thu, 01 Jul 2010 21:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=365#comment-5203</guid>
		<description>@Daniel Thanks for the taking the time to comment and make that clarification. I didn&#039;t mean to imply that this was an error on the part of libcurl or its PHP extension, merely a behavior of the latter that&#039;s easy to miss if you don&#039;t read the docs carefully.

I agree that the end result is that the POST data is formatted differently and the difference in header value is more a consequence of that and a sympton rather than a cause. One thing I didn&#039;t mention explicitly is that I&#039;ve never known PHP to behave like .NET does in this situation, so the behavior came as somewhat of a surprise to me.</description>
		<content:encoded><![CDATA[<p>@Daniel Thanks for the taking the time to comment and make that clarification. I didn&#8217;t mean to imply that this was an error on the part of libcurl or its PHP extension, merely a behavior of the latter that&#8217;s easy to miss if you don&#8217;t read the docs carefully.</p>
<p>I agree that the end result is that the POST data is formatted differently and the difference in header value is more a consequence of that and a sympton rather than a cause. One thing I didn&#8217;t mention explicitly is that I&#8217;ve never known PHP to behave like .NET does in this situation, so the behavior came as somewhat of a surprise to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Stenberg</title>
		<link>http://matthewturland.com/2010/06/30/gotcha-on-scraping-net-applications-with-php-and-curl/comment-page-1/#comment-5202</link>
		<dc:creator>Daniel Stenberg</dc:creator>
		<pubDate>Thu, 01 Jul 2010 20:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=365#comment-5202</guid>
		<description>Hi.

I&#039;m the main author of libcurl, and while I&#039;m not fluent in PHP nor in the curl extension for PHP, I must say that your post/explanation here greatly misses the point. The problem is really _not_ the Content-Type: header. Most likely servers don&#039;t care one yota about that header.

What counts, is that you made a multipart formpost instead of a regular one. The entire POST was done in a completely different encoding as url-encoding and multipart are far far away from each other.

(Me personally, I don&#039;t like how the curl exension made the two different posts that easy to mix up.)

Have fun with that scraping!</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I&#8217;m the main author of libcurl, and while I&#8217;m not fluent in PHP nor in the curl extension for PHP, I must say that your post/explanation here greatly misses the point. The problem is really _not_ the Content-Type: header. Most likely servers don&#8217;t care one yota about that header.</p>
<p>What counts, is that you made a multipart formpost instead of a regular one. The entire POST was done in a completely different encoding as url-encoding and multipart are far far away from each other.</p>
<p>(Me personally, I don&#8217;t like how the curl exension made the two different posts that easy to mix up.)</p>
<p>Have fun with that scraping!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Ice</title>
		<link>http://matthewturland.com/2010/06/30/gotcha-on-scraping-net-applications-with-php-and-curl/comment-page-1/#comment-5197</link>
		<dc:creator>Daniel Ice</dc:creator>
		<pubDate>Thu, 01 Jul 2010 14:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://matthewturland.com/?p=365#comment-5197</guid>
		<description>Great tip.  I have been doing lots of spidering over time and never seen this tip.  Thanks.</description>
		<content:encoded><![CDATA[<p>Great tip.  I have been doing lots of spidering over time and never seen this tip.  Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
