title: PHP Curl Get Request Returning False
body: <p>I'm working on something but I do not understand what is happening. I tried different things. I'm sending a get request to website but it's not working, the curl always returns false. But if I put the url to the browser and check it, I got some response. here's the url</p>
  
  <pre><code>"https://cleanlead.dlg.co.uk/?circuit=public&amp;fuseaction=lead&amp;Campid=599&amp;Suppid=571&amp;Surveyid=5&amp;Title=Mr&amp;Forename=Adrian&amp;Surname=Reut&amp;Address1=8 Church Road Middlesex&amp;Finance_Insurance_PMI_CurrentlyHave=Yes&amp;Postcode=UB3 2LH&amp;Finance_PMI_ThruCompany=No&amp;TelephoneORMobile=2087976760&amp;Age_Band=30-39"
  </code></pre>
  
  <p>Here' my curl code</p>
  
  <pre><code>$ch = curl_init();  
  //var_dump($url.$postData);
  curl_setopt($ch,CURLOPT_URL,urlencode("https://cleanlead.dlg.co.uk/?circuit=public&amp;fuseaction=lead&amp;Campid=599&amp;Suppid=571&amp;Surveyid=5&amp;Title=Mr&amp;Forename=Adrian&amp;Surname=Reut&amp;Address1=8 Church Road Middlesex&amp;Finance_Insurance_PMI_CurrentlyHave=Yes&amp;Postcode=UB3 2LH&amp;Finance_PMI_ThruCompany=No&amp;TelephoneORMobile=2087976760&amp;Age_Band=30-39"));
  curl_setopt($ch, CURLOPT_HEADER, 0);
  curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
  curl_setopt($ch,CURLOPT_HEADER, false); 
  curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, false); 
  curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);   
  curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET'); 
  $output=curl_exec($ch);
  
  curl_close($ch);
  var_dump($output);
  </code></pre>