Posted By

mos666 on 07/19/15


Tagged

curl


Versions (?)

Using cURL get webpage


 / Published in: PHP
 

Using cURL to get webpage DOM

  1. $curl_handle=curl_init();
  2. curl_setopt($curl_handle,CURLOPT_URL,$webpage_url);
  3. $html = curl_exec($curl_handle);
  4. curl_close($curl_handle);

Report this snippet  

You need to login to post a comment.