<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Using the CURL library in PHP</title>
	<link>http://phpit.net/article/using-curl-php/</link>
	<description>PHPit has dozens of PHP articles, codesnippets and FAQ's.</description>
	<pubDate>Tue, 24 Jun 2008 05:06:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Arvind Jagtap</title>
		<link>http://phpit.net/article/using-curl-php/#comment-11814</link>
		<pubDate>Wed, 23 Aug 2006 11:45:21 +0000</pubDate>
		<guid>http://phpit.net/article/using-curl-php/#comment-11814</guid>
					<description>CURL is certainly a good thing. Using this I wrote couple of programs to remotely login to the site and get data posted there. This is simply amazing thing to work on by every PHP programmer.</description>
		<content:encoded><![CDATA[<p>CURL is certainly a good thing. Using this I wrote couple of programs to remotely login to the site and get data posted there. This is simply amazing thing to work on by every PHP programmer.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Dennis Pallett</title>
		<link>http://phpit.net/article/using-curl-php/#comment-1431</link>
		<pubDate>Sat, 29 Apr 2006 08:38:34 +0000</pubDate>
		<guid>http://phpit.net/article/using-curl-php/#comment-1431</guid>
					<description>Jan, there are probably tons of wrappers already on phpclasses.org, and it'd be pretty easy to write your own as well.</description>
		<content:encoded><![CDATA[<p>Jan, there are probably tons of wrappers already on phpclasses.org, and it&#8217;d be pretty easy to write your own as well.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jan</title>
		<link>http://phpit.net/article/using-curl-php/#comment-1413</link>
		<pubDate>Fri, 28 Apr 2006 05:44:49 +0000</pubDate>
		<guid>http://phpit.net/article/using-curl-php/#comment-1413</guid>
					<description>As a Java/J2EE developer who also happens to use PHP for a few projects, I must conclude that this is the worst HTTP API that I have ever seen. It is not OO; you have to use curl_setopt() to set everything, including the URL and the parameters; by default output is printed to the browser instead of returned to the user, ...

Maybe it's not a bad idea to create a wrapper around it.</description>
		<content:encoded><![CDATA[<p>As a Java/J2EE developer who also happens to use PHP for a few projects, I must conclude that this is the worst HTTP API that I have ever seen. It is not OO; you have to use curl_setopt() to set everything, including the URL and the parameters; by default output is printed to the browser instead of returned to the user, &#8230;</p>
<p>Maybe it&#8217;s not a bad idea to create a wrapper around it.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: sandip wankhede</title>
		<link>http://phpit.net/article/using-curl-php/#comment-1400</link>
		<pubDate>Wed, 26 Apr 2006 11:29:36 +0000</pubDate>
		<guid>http://phpit.net/article/using-curl-php/#comment-1400</guid>
					<description>Excellent***
                          Very very easy to understand</description>
		<content:encoded><![CDATA[<p>Excellent***<br />
                          Very very easy to understand
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Andy Boyd &#187; Using Curl</title>
		<link>http://phpit.net/article/using-curl-php/#comment-1380</link>
		<pubDate>Tue, 25 Apr 2006 15:59:57 +0000</pubDate>
		<guid>http://phpit.net/article/using-curl-php/#comment-1380</guid>
					<description>[...] I&#8217;ve heard a few references to CURL but never knew much about it.  CURL allows you to scrape/use other web pages as data .  The most interesting use (I found) is you can automatically fill out form data and retrieve the $_POST array.  CURL&#8230; it&#8217;s one bad mutha&#8230; http://phpit.net/article/using-curl-php/1  [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] I&#8217;ve heard a few references to CURL but never knew much about it.  CURL allows you to scrape/use other web pages as data .  The most interesting use (I found) is you can automatically fill out form data and retrieve the $_POST array.  CURL&#8230; it&#8217;s one bad mutha&#8230; <a href='/article/using-curl-php/1' rel='nofollow'>http://phpit.net/article/using-curl-php/1</a>  [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: AJ</title>
		<link>http://phpit.net/article/using-curl-php/#comment-1367</link>
		<pubDate>Tue, 25 Apr 2006 02:17:22 +0000</pubDate>
		<guid>http://phpit.net/article/using-curl-php/#comment-1367</guid>
					<description>Sorry forgot that you won't see xml tags, so here I'll try again;
$xml = "
$MerchantID
$Account
$OrderID
$Amount
 
$CardNumber
$CardExpiryDate
$CardType

";</description>
		<content:encoded><![CDATA[<p>Sorry forgot that you won&#8217;t see xml tags, so here I&#8217;ll try again;<br />
$xml = &#8221;<br />
$MerchantID<br />
$Account<br />
$OrderID<br />
$Amount</p>
<p>$CardNumber<br />
$CardExpiryDate<br />
$CardType</p>
<p>&#8220;;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: AJ</title>
		<link>http://phpit.net/article/using-curl-php/#comment-1366</link>
		<pubDate>Tue, 25 Apr 2006 02:15:02 +0000</pubDate>
		<guid>http://phpit.net/article/using-curl-php/#comment-1366</guid>
					<description>You can also use curl to submit XML requests to XML providers, like credit card clearing houses. While I don't know how efficent this is below is a small sample.

$xml = "
						$MerchantID
						$Account
						$OrderID
						$Amount
							 
								$CardNumber
								$CardExpiryDate
								$CardType
							 
					";
$curl = curl_init(); 
curl_setopt($curl, CURLOPT_URL, $PaymentServer);
curl_setopt($curl, CURLOPT_POST, 1); 
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($curl, CURLOPT_POSTFIELDS, $xml);
$response = curl_exec ($curl);    
curl_close ($curl)

$returnedXML = simplexml_load_string($response);</description>
		<content:encoded><![CDATA[<p>You can also use curl to submit XML requests to XML providers, like credit card clearing houses. While I don&#8217;t know how efficent this is below is a small sample.</p>
<p>$xml = &#8221;<br />
						$MerchantID<br />
						$Account<br />
						$OrderID<br />
						$Amount</p>
<p>								$CardNumber<br />
								$CardExpiryDate<br />
								$CardType</p>
<p>					&#8220;;<br />
$curl = curl_init();<br />
curl_setopt($curl, CURLOPT_URL, $PaymentServer);<br />
curl_setopt($curl, CURLOPT_POST, 1);<br />
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);<br />
curl_setopt($curl, CURLOPT_POSTFIELDS, $xml);<br />
$response = curl_exec ($curl);<br />
curl_close ($curl)</p>
<p>$returnedXML = simplexml_load_string($response);
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
