title: PHP CURL not always returning the same data
body: <p>I have this CURL function:</p>
  
  <pre><code>$ch = curl_init();
  $timeout = 5;
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_USERAGENT,'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13');
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
  $data = curl_exec($ch);
  curl_close($ch);
  return $data;
  </code></pre>
  
  <p>This is the URL i'm accessing:
  <a href="http://dyproperties.bm/realty/index.php?action=listingview&amp;listingID=217" rel="nofollow">http://dyproperties.bm/realty/index.php?action=listingview&amp;listingID=217</a></p>
  
  <p>If i access the URL in a single process, I get back the correct HTML</p>
  
  <p>When I try and parse a bunch of URLS from an Array, every page returns a 404 type page.  I can't seem to figure out the problem, if i run CURL from the linux command line, I get the 404 page, if i use file_get_contents instead from a single process, I get the correct data, if i use file_get_contents from an array of URLS, every URL returns a 404 type page, even if i die() after the first one is parse, i'm stumped... </p>
  
  <p>any help?</p>