title: php curl scrape not working
body: <p>My scraping code is not working , I used php cURL , But not returning page content . So please help me , how can I get all content .</p>
  
  <pre><code>function getSslPage($url)
  {
      $ch = curl_init();
  
      curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
      curl_setopt($ch, CURLOPT_HEADER, false);
      curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
      curl_setopt($ch, CURLOPT_URL, $url);
      curl_setopt($ch, CURLOPT_REFERER, $url);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  
      $result = curl_exec($ch);
      curl_close($ch);
  
      return $result;
  }
  
  $url = "https://www.woolworths.com.au/Shop/SearchProducts?search=Fresh%20Apple";
  $ch = getSslPage($url);
  
  echo $ch;
  </code></pre>