Writing Yahoo! Bot: Why can't I fetch a web page on Yahoo! mail with help of PHP?
<p>I want to write a bot that fetches my mail on Yahoo! but my first problem is I can't fetch the web page where login and password have to be filled in. I do it so:</p>

<pre><code>&lt;?php
$the_url = "http://www.yahoo.com/r/l6";

$ua_s = "Opera/9.62 (Windows NT 5.1; U; En) Presto/2.1.1";

$c = curl_init($the_url);
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
curl_setopt($c, CURLOPT_USERAGENT, $ua_s);
$the_page = curl_exec($c);
curl_close($c); 

echo $the_page;
?&gt;
</code></pre>

<p>But when I do that I get a blank page.</p>
