title: Betfair login using simple cURL
body: <p>I need to check certain prices at betfair.com couple times per day. The website scraping serves best for this purpose. The only extra thing I need is to be logged in the website because of no delay. Because I have an account that is no longer used, security is not an issue, it just has to work.
  I use the following options for the cURL requests, but it doesn't work.</p>
  
  <pre><code>CURLOPT_URL=&gt;'http://www.betfair.com/en/',
  CURLOPT_COOKIEJAR=&gt;'cookie.txt',
  CURLOPT_COOKIEFILE=&gt;'cookie.txt',
  CURLOPT_POST=&gt;1,
  CURLOPT_RETURNTRANSFER=&gt;1,
  CURLOPT_SSL_VERIFYPEER=&gt;0,
  CURLOPT_SSL_VERIFYHOST=&gt;0,
  CURLOPT_FOLLOWLOCATION=&gt;1,
  CURLOPT_POSTFIELDS=&gt;'username=user&amp;password=pass
  </code></pre>