<?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: PHP Helpers: curl_http_request</title>
	<atom:link href="http://josephscott.org/archives/2010/03/php-helpers-curl_http_request/feed/" rel="self" type="application/rss+xml" />
	<link>http://josephscott.org/archives/2010/03/php-helpers-curl_http_request/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 02:43:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Joseph Scott</title>
		<link>http://josephscott.org/archives/2010/03/php-helpers-curl_http_request/#comment-2237</link>
		<dc:creator>Joseph Scott</dc:creator>
		<pubDate>Wed, 17 Mar 2010 22:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://josephscott.org/?p=2029#comment-2237</guid>
		<description>haha!

Agreed, it&#039;s easy to take for granted the number of things that WordPress provides.  But that&#039;s why these posts were called &#039;PHP Helpers&#039; and not &#039;WordPress Helpers&#039; :-)</description>
		<content:encoded><![CDATA[<p>haha!</p>
<p>Agreed, it&#8217;s easy to take for granted the number of things that WordPress provides.  But that&#8217;s why these posts were called &#8216;PHP Helpers&#8217; and not &#8216;WordPress Helpers&#8217; :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viper007Bond</title>
		<link>http://josephscott.org/archives/2010/03/php-helpers-curl_http_request/#comment-2236</link>
		<dc:creator>Viper007Bond</dc:creator>
		<pubDate>Wed, 17 Mar 2010 22:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://josephscott.org/?p=2029#comment-2236</guid>
		<description>Lies!

I actually personally often end up doing stuff like that for non-WordPress scripts of mine. I&#039;ve been spoiled by all of WordPress&#039; helper functions, heh. :)</description>
		<content:encoded><![CDATA[<p>Lies!</p>
<p>I actually personally often end up doing stuff like that for non-WordPress scripts of mine. I&#8217;ve been spoiled by all of WordPress&#8217; helper functions, heh. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Scott</title>
		<link>http://josephscott.org/archives/2010/03/php-helpers-curl_http_request/#comment-2235</link>
		<dc:creator>Joseph Scott</dc:creator>
		<pubDate>Wed, 17 Mar 2010 22:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://josephscott.org/?p=2029#comment-2235</guid>
		<description>The whole world is not WordPress :-)</description>
		<content:encoded><![CDATA[<p>The whole world is not WordPress :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viper007Bond</title>
		<link>http://josephscott.org/archives/2010/03/php-helpers-curl_http_request/#comment-2234</link>
		<dc:creator>Viper007Bond</dc:creator>
		<pubDate>Wed, 17 Mar 2010 22:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://josephscott.org/?p=2029#comment-2234</guid>
		<description>[php]require( &#039;wp-load.php&#039; );

function curl_http_request( $url, $req = &#039;GET&#039;, $arg = array( ) ) {
	$arg[&#039;method&#039;] = $req;
	return wp_remote_request( $url, $arg );
}[/php]

/whistle</description>
		<content:encoded><![CDATA[<pre class="brush: php;">require( 'wp-load.php' );

function curl_http_request( $url, $req = 'GET', $arg = array( ) ) {
	$arg['method'] = $req;
	return wp_remote_request( $url, $arg );
}</pre>
<p>/whistle</p>
]]></content:encoded>
	</item>
</channel>
</rss>
