Posted By

arpit on 11/15/11


Tagged

curl


Versions (?)

Load a page in PHP


 / Published in: PHP
 

  1. $curl_handle=curl_init();
  2. curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, 1);
  3. curl_setopt($curl_handle,CURLOPT_URL,$_GET["url"]);
  4. curl_exec($curl_handle);
  5. curl_close($curl_handle);

Report this snippet  

You need to login to post a comment.