<?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: How To Check if the cURL PHP extension is loaded</title>
	<atom:link href="http://cleverwp.com/function-curl-php-extension-loaded/feed/" rel="self" type="application/rss+xml" />
	<link>http://cleverwp.com/function-curl-php-extension-loaded/#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=function-curl-php-extension-loaded</link>
	<description>Clever WordPress SEO, Tutorials, Plugins and more</description>
	<lastBuildDate>Mon, 26 Sep 2011 06:02:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: rajat gusain</title>
		<link>http://cleverwp.com/function-curl-php-extension-loaded/#comment-1937</link>
		<dc:creator>rajat gusain</dc:creator>
		<pubDate>Sat, 25 Jun 2011 16:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://mywordpress.com/?p=440#comment-1937</guid>
		<description>Use below code : It tells every extension available in the current php set up.

</description>
		<content:encoded><![CDATA[<p>Use below code : It tells every extension available in the current php set up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan</title>
		<link>http://cleverwp.com/function-curl-php-extension-loaded/#comment-974</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Tue, 16 Nov 2010 09:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://mywordpress.com/?p=440#comment-974</guid>
		<description>…and your own code could have been much cleaner:

function _iscurlinstalled() {
    return in_array(&#039;curl&#039;, get_loaded_extensions())
}</description>
		<content:encoded><![CDATA[<p>…and your own code could have been much cleaner:</p>
<p>function _iscurlinstalled() {<br />
    return in_array(&#8216;curl&#8217;, get_loaded_extensions())<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handgreen189</title>
		<link>http://cleverwp.com/function-curl-php-extension-loaded/#comment-886</link>
		<dc:creator>handgreen189</dc:creator>
		<pubDate>Tue, 05 Oct 2010 06:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://mywordpress.com/?p=440#comment-886</guid>
		<description>Good, your method is more useful.</description>
		<content:encoded><![CDATA[<p>Good, your method is more useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lars Koudal</title>
		<link>http://cleverwp.com/function-curl-php-extension-loaded/#comment-730</link>
		<dc:creator>Lars Koudal</dc:creator>
		<pubDate>Fri, 06 Aug 2010 14:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://mywordpress.com/?p=440#comment-730</guid>
		<description>Hi Emil

I see my initial post was complete overkill, your method is definitely better to use :-)</description>
		<content:encoded><![CDATA[<p>Hi Emil</p>
<p>I see my initial post was complete overkill, your method is definitely better to use <img src='http://cleverwp.com.s3.amazonaws.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emil</title>
		<link>http://cleverwp.com/function-curl-php-extension-loaded/#comment-727</link>
		<dc:creator>emil</dc:creator>
		<pubDate>Fri, 06 Aug 2010 13:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://mywordpress.com/?p=440#comment-727</guid>
		<description>`if ( function_exists(&#039;curl_version&#039;) == &quot;Enabled&quot; ){ //do something; };`
Virker også fint. // works a charm.</description>
		<content:encoded><![CDATA[<p>`if ( function_exists(&#8216;curl_version&#8217;) == &#8220;Enabled&#8221; ){ //do something; };`<br />
Virker også fint. // works a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moondog604</title>
		<link>http://cleverwp.com/function-curl-php-extension-loaded/#comment-265</link>
		<dc:creator>Moondog604</dc:creator>
		<pubDate>Thu, 04 Feb 2010 09:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://mywordpress.com/?p=440#comment-265</guid>
		<description>Dmitry there is an error with your code. I was testing and of course it was giving me a false positive. curl_open is not a function, curl_init is what you should have tested with. Once I made the change I was getting a message saying cURL was enabled.

echo &#039;cURL is&#039;.(function_exists(&#039;curl_init&#039;) ? &#039;&#039; : &#039; not&#039;).&#039; installed&#039;;</description>
		<content:encoded><![CDATA[<p>Dmitry there is an error with your code. I was testing and of course it was giving me a false positive. curl_open is not a function, curl_init is what you should have tested with. Once I made the change I was getting a message saying cURL was enabled.</p>
<p>echo &#8216;cURL is&#8217;.(function_exists(&#8216;curl_init&#8217;) ? &#8221; : &#8216; not&#8217;).&#8217; installed&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myWordPress</title>
		<link>http://cleverwp.com/function-curl-php-extension-loaded/#comment-264</link>
		<dc:creator>myWordPress</dc:creator>
		<pubDate>Sat, 04 Jul 2009 13:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://mywordpress.com/?p=440#comment-264</guid>
		<description>Hi Dmitry

Auch, that code is so much cleaner and simpler. Thank you for that tip, I never even thought to use the function_exists() function.

Thanks :-)</description>
		<content:encoded><![CDATA[<p>Hi Dmitry</p>
<p>Auch, that code is so much cleaner and simpler. Thank you for that tip, I never even thought to use the function_exists() function.</p>
<p>Thanks <img src='http://cleverwp.com.s3.amazonaws.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://cleverwp.com/function-curl-php-extension-loaded/#comment-263</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Sat, 04 Jul 2009 02:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://mywordpress.com/?p=440#comment-263</guid>
		<description>You may also use &#039;function_exists&#039; function to check that. Simple code will be:
echo &#039;cURL is&#039;.(function_exists(&#039;curl_open&#039;) ? &#039;&#039; : &#039; not&#039;).&#039; installed&#039;;</description>
		<content:encoded><![CDATA[<p>You may also use &#8216;function_exists&#8217; function to check that. Simple code will be:<br />
echo &#8216;cURL is&#8217;.(function_exists(&#8216;curl_open&#8217;) ? &#8221; : &#8216; not&#8217;).&#8217; installed&#8217;;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: cleverwp.com @ 2012-02-05 06:10:54 by W3 Total Cache -->
