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,067 views
1 answer 265 views
1 answer 267 views
267 views asked Jan 22, 2015 by avibootz
1 answer 405 views
...