SHARE
TWEET

Untitled

a guest Nov 14th, 2019 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?
  2.  
  3. $ch = curl_init('https://vk.com');
  4.  
  5. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  6.  
  7. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  8.  
  9. curl_setopt($ch, CURLOPT_HEADER, false);
  10.  
  11. $html = curl_exec($ch);
  12.  
  13. curl_close($ch);
  14.  
  15.  
  16.  
  17. echo $html; // Выведет код страницы vk.com
  18.  
  19. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top