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,062 views
1 answer 254 views
1 answer 261 views
261 views asked Jan 22, 2015 by avibootz
1 answer 397 views
...