How to open a website (URL) in browser with cURL in PHP

1 Answer

0 votes
$curl = curl_init();

curl_setopt($curl, CURLOPT_URL, "http://www.bootznotes.com/");
curl_setopt($curl, CURLOPT_HEADER, 0);

// pass the URL to the browser
curl_exec($curl);

curl_close($curl);


/*
run: 

Check your browser

*/

 



answered Jun 7, 2016 by avibootz

Related questions

2 answers 1,070 views
1 answer 266 views
1 answer 269 views
269 views asked Jan 22, 2015 by avibootz
1 answer 407 views
...