Fix PHP CURL issue for a especial web page

  • Status Closed
  • Budget $10 - $30 USD
  • Total Bids 24

Project Description

Hi,

I have a very sample php curl script that will get content for a web page. please see the follow code. it works well on my local, not can not works on my both 2 hosts.

BTW, [url removed, login to view] used CloudFlare to protect.

----------

$url = "[url removed, login to view]";

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_HEADER, 1); // no headers in the output

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // output to variable

$data = curl_exec($ch);

echo $data;

--------

Show me the script that works well on your host, then i will give you this project.

Thanks,

Kimi

Get free quotes for a project like this
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online