Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://dota2.ru/forum/members/qwertyforce.358108/');
- curl_setopt($ch, CURLOPT_HTTPGET, true);
- curl_setopt($ch, CURLOPT_COOKIE,'xf_session=2b88afd1728e86198cce4166dc608f04');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_HEADER, 1);
- curl_setopt($ch, CURLINFO_HEADER_OUT, true);
- //curl_setopt($ch, CURLOPT_PROXY, '127.0.0.1:8888');
- $out=curl_exec($ch);
- //$info = curl_getinfo($ch);
- //print_r($info['request_header']);
- echo $out;
- curl_close($ch);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement