Load a page in PHP


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.