fork download
  1. <!DOCTYPE html>
  2. <html>
  3. <body><?php$url = 'https://w...content-available-to-author-only...e.com';
  4. $ch = curl_init();
  5. curl_setopt($ch, CURLOPT_URL, $url);
  6. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  7. $html = curl_exec($ch);
  8. if ($html === false) {  
  9. echo "cURL Error: " . curl_error($ch);
  10. } else {  
  11. echo $html;
  12. }
  13. curl_close($ch);
  14. ?>
  15. </body>
  16. </html>
  17.  
Success #stdin #stdout 0.03s 25508KB
stdin
<!DOCTYPE html>
<html>
<body><?php$url = 'https://w...content-available-to-author-only...e.com'; 
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
$html = curl_exec($ch);
if ($html === false) {  
echo "cURL Error: " . curl_error($ch);
} else {  
echo $html;
}
curl_close($ch); 
?>
</body>
</html>
stdout
<!DOCTYPE html>
<html>
<body><?php$url = 'https://w...content-available-to-author-only...e.com'; 
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
$html = curl_exec($ch);
if ($html === false) {  
echo "cURL Error: " . curl_error($ch);
} else {  
echo $html;
}
curl_close($ch); 
?>
</body>
</html>