<?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: Logging In With CURL and PHP</title>
	<atom:link href="http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/</link>
	<description>Slightly Advanced Computer Stuff (and some magic)</description>
	<lastBuildDate>Sat, 21 Nov 2009 04:22:17 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MK</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-31463</link>
		<dc:creator>MK</dc:creator>
		<pubDate>Mon, 14 Sep 2009 20:17:31 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-31463</guid>
		<description>Great tutorial. Worked like a charm against my test server.</description>
		<content:encoded><![CDATA[<p>Great tutorial. Worked like a charm against my test server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-31363</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Fri, 04 Sep 2009 01:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-31363</guid>
		<description>Probably not, at least not easily. I&#039;m sure Digg.com has some kind of measures set up specifically to prevent this kind of thing.</description>
		<content:encoded><![CDATA[<p>Probably not, at least not easily. I&#8217;m sure Digg.com has some kind of measures set up specifically to prevent this kind of thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-31362</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 04 Sep 2009 00:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-31362</guid>
		<description>Could this method be used to login to digg.com, I have been trying all day and no avail.</description>
		<content:encoded><![CDATA[<p>Could this method be used to login to digg.com, I have been trying all day and no avail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LGS</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-24863</link>
		<dc:creator>LGS</dc:creator>
		<pubDate>Fri, 03 Apr 2009 07:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-24863</guid>
		<description>Funciona a la perfeccion !!

Muy agradecido</description>
		<content:encoded><![CDATA[<p>Funciona a la perfeccion !!</p>
<p>Muy agradecido</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-13125</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Sun, 30 Nov 2008 20:40:16 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-13125</guid>
		<description>&lt;a href=&#039;#comment-13116&#039; rel=&quot;nofollow&quot;&gt;@vp&lt;/a&gt; - Use a network sniffer and compare what happens when you do it with a browser vs. CURL. Then modify the script to act exactly as the browser. 

It&#039;s also possible that UPS.com has some kind of JavaScript validation; e.g. a JS script that fills out a hidden &quot;checksum&quot; field before the form is submitted. CURL doesn&#039;t run JS, so ups.com can detect that something is wrong. Examining the traffic with a sniffer should reveal tricks like this, too.</description>
		<content:encoded><![CDATA[<p><a href='#comment-13116' rel="nofollow">@vp</a> &#8211; Use a network sniffer and compare what happens when you do it with a browser vs. CURL. Then modify the script to act exactly as the browser. </p>
<p>It&#8217;s also possible that UPS.com has some kind of JavaScript validation; e.g. a JS script that fills out a hidden &#8220;checksum&#8221; field before the form is submitted. CURL doesn&#8217;t run JS, so ups.com can detect that something is wrong. Examining the traffic with a sniffer should reveal tricks like this, too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vp</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-13116</link>
		<dc:creator>vp</dc:creator>
		<pubDate>Sun, 30 Nov 2008 02:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-13116</guid>
		<description>Hi, I&#039;ve been trying to do this for UPS.com - use curl to login and create a shipping label from my shopping cart software , but no success yet. I tried everything and It seems like UPS has blocked it somehow. Login does not work. But even if I login manually and just try to fill in the shipping labels using curl, it does not let me do it unless i have the current cookies and i cant get those from the script. If i retrieve the cookies manually (looking at the header), it works. I would be grateful for  any help. Thanks!</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;ve been trying to do this for UPS.com &#8211; use curl to login and create a shipping label from my shopping cart software , but no success yet. I tried everything and It seems like UPS has blocked it somehow. Login does not work. But even if I login manually and just try to fill in the shipping labels using curl, it does not let me do it unless i have the current cookies and i cant get those from the script. If i retrieve the cookies manually (looking at the header), it works. I would be grateful for  any help. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samy</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-12065</link>
		<dc:creator>Samy</dc:creator>
		<pubDate>Sun, 08 Jun 2008 22:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-12065</guid>
		<description>Hi, nice stuff there. Thanx. I have a ques: for you. I developed a curl script to loging rapidshare using my premium account. But it didn&#039;t work. They are using cgi for logon script. How can I do it? Help me. Here is a part if my code...

$ch = curl_init();
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_URL, &#039;https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi&#039;);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, &#039;login=&#039; . samy . &#039;&amp;password=&#039; . samy);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    return (curl_exec($ch));
    curl_close($ch);</description>
		<content:encoded><![CDATA[<p>Hi, nice stuff there. Thanx. I have a ques: for you. I developed a curl script to loging rapidshare using my premium account. But it didn&#8217;t work. They are using cgi for logon script. How can I do it? Help me. Here is a part if my code&#8230;</p>
<p>$ch = curl_init();<br />
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);<br />
    curl_setopt($ch, CURLOPT_URL, &#8216;https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi&#8217;);<br />
    curl_setopt($ch, CURLOPT_POST, 1);<br />
    curl_setopt($ch, CURLOPT_POSTFIELDS, &#8216;login=&#8217; . samy . &#8216;&amp;password=&#8217; . samy);<br />
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);<br />
    return (curl_exec($ch));<br />
    curl_close($ch);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Владимир</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-11931</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Fri, 09 May 2008 19:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-11931</guid>
		<description>Thanks a lot! I used it in my application practically without any modifications.</description>
		<content:encoded><![CDATA[<p>Thanks a lot! I used it in my application practically without any modifications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Get Your Clickbank Sales Stats Programmatically &#124; Digital Products Review</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-11715</link>
		<dc:creator>Get Your Clickbank Sales Stats Programmatically &#124; Digital Products Review</dc:creator>
		<pubDate>Wed, 09 Apr 2008 16:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-11715</guid>
		<description>[...] Logging In With CURL and PHP  SHARETHIS.addEntry({ title: &quot;Get Your Clickbank Sales Stats Programmatically&quot;, url: &quot;http://www.digitalproductsreview.net/blog/get-your-clickbank-sales-stats-programmatically/&quot; });  Tags: clickbank sales stats, return on investment [...]</description>
		<content:encoded><![CDATA[<p>[...] Logging In With CURL and PHP  SHARETHIS.addEntry({ title: &#8220;Get Your Clickbank Sales Stats Programmatically&#8221;, url: &#8220;http://www.digitalproductsreview.net/blog/get-your-clickbank-sales-stats-programmatically/&#8221; });  Tags: clickbank sales stats, return on investment [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tau_Zero</title>
		<link>http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/comment-page-1/#comment-10542</link>
		<dc:creator>Tau_Zero</dc:creator>
		<pubDate>Wed, 12 Dec 2007 05:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/blog/2007/07/07/logging-in-with-curl-and-php/#comment-10542</guid>
		<description>Thank you.  I have just spent hours combing through documentation, talking to people, and analyzing snippets of code to get a similar thing running, but to no avail.  Several google pages down, I came across this, and it finally works.  Well written, good documentation on your code.</description>
		<content:encoded><![CDATA[<p>Thank you.  I have just spent hours combing through documentation, talking to people, and analyzing snippets of code to get a similar thing running, but to no avail.  Several google pages down, I came across this, and it finally works.  Well written, good documentation on your code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
