<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Val Petruchek on Web-Development &#187; curl</title>
	<atom:link href="http://petruchek.com/tag/curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://petruchek.com</link>
	<description>PHP, JavaScript, MySQL, Apache, CSS</description>
	<lastBuildDate>Sun, 13 Sep 2020 18:58:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Curl — change your IP address</title>
		<link>http://petruchek.com/2010/08/curl-change-your-ip-address/</link>
		<comments>http://petruchek.com/2010/08/curl-change-your-ip-address/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 06:48:11 +0000</pubDate>
		<dc:creator>val</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://petruchek.com/?p=19</guid>
		<description><![CDATA[If you have multiple IP addresses and you want to make curl request using non-default IP, you can do it by setting CURLOPT_INTERFACE option: curl_setopt ($ch,&#160;CURLOPT_INTERFACE,&#160;'11.22.33.44'); This will work only if you really have that another IP. If you do &#8230; <a href="http://petruchek.com/2010/08/curl-change-your-ip-address/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you have multiple IP addresses and you want to make curl request using non-default IP, you can do it by setting <strong><em>CURLOPT_INTERFACE</em></strong> option: </p>
<p><code><span style="color: #0000BB">curl_setopt</span> <span style="color: #007700">(</span><span style="color: #0000BB">$ch</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">CURLOPT_INTERFACE</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'11.22.33.44'</span><span style="color: #007700">);</span></code></p>
<p>This will work only if you really have that another IP. If you do not have extra IPs, and your only IP is banned already, you need proxies. </p>
<p>If you want to forge your IP address, curl is wrong tool, too.</p>
]]></content:encoded>
			<wfw:commentRss>http://petruchek.com/2010/08/curl-change-your-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
