Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $ch = curl_init('https://vk.com');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_HEADER, false);
- $html = curl_exec($ch);
- curl_close($ch);
- echo $html; // Выведет код страницы vk.com
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement