title: PHP Curl Proxy - Is there an error?
body: <pre><code>$curl = curl_init();
  curl_setopt($curl, CURLOPT_URL, $url);
  curl_setopt($curl,CURLOPT_HEADER,0);
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
  curl_setopt($curl,CURLOPT_PROXY,'103.228.152.11');
  curl_setopt($curl,CURLOPT_PROXYPORT,'80');
  curl_setopt($curl,CURLOPT_USERAGENT,"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)");
  if($post){
  curl_setopt($curl, CURLOPT_POST, 1);
  curl_setopt($curl, CURLOPT_POSTFIELDS,$post);
  }
  $result = curl_exec($curl);
  curl_close($curl);
  $arr = array("\t" =&gt; null,"\n" =&gt; null,"\r" =&gt; null);
  return strtr($result,$arr);
  </code></pre>
  
  <p>I was pulling data from a site, but I can not pull it. I am using curl proxy for the first time, is there an error in the above code? Because he does not pull it again.</p>