Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
<?php
$url = 'http://irr.ru/';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER,1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_REFERER, 'http://yandex.ru' );
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.ch");
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.ch");
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla Firefox 3 (compatible; MSIE 6.0; LAS Linux)");
curl_setopt($ch, CURLOPT_VERBOSE,1);
$data = curl_exec($ch);
$ch_temp=curl_copy_handle($ch);
curl_close($ch);
$ch=$ch_temp;
echo $data;
?>
--2010-09-04 20:04:13-- http://irr.ru/
Resolving irr.ru... 213.152.143.54, 213.152.143.55
Connecting to irr.ru|213.152.143.54|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://pass.pronto.ru/client/controller.php?suid=4c7ba245a111abc72e000
000&return_path=http%3A%2F%2Firr.ru%2Fcontrollers%2Fpassport%2Fauth.php%3Freturn
_uri%3D%252F [following]
--2010-09-04 20:04:13-- http://pass.pronto.ru/client/controller.php?suid=4c7ba2
45a111abc72e000000&return_path=http%3A%2F%2Firr.ru%2Fcontrollers%2Fpassport%2Fau
th.php%3Freturn_uri%3D%252F
Resolving pass.pronto.ru... 89.249.21.187
Connecting to pass.pronto.ru|89.249.21.187|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://pass.pronto.ru/client/controller.php?suid=4c7ba245a111abc72e000
000&return_path=http%3A%2F%2Firr.ru%2Fcontrollers%2Fpassport%2Fauth.php%3Freturn
_uri%3D%252F&rnd=7295&test_cookie=887 [following]
--2010-09-04 20:04:13-- http://pass.pronto.ru/client/controller.php?suid=4c7ba2
45a111abc72e000000&return_path=http%3A%2F%2Firr.ru%2Fcontrollers%2Fpassport%2Fau
th.php%3Freturn_uri%3D%252F&rnd=7295&test_cookie=887
Connecting to pass.pronto.ru|89.249.21.187|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://irr.ru/controllers/passport/auth.php?return_uri=%2F&puid=c2a720
4a15c35db150961e5d6c5c4427&message=not_authorized&rnd=7977 [following]
--2010-09-04 20:04:13-- http://irr.ru/controllers/passport/auth.php?return_uri=
%2F&puid=c2a7204a15c35db150961e5d6c5c4427&message=not_authorized&rnd=7977
Connecting to irr.ru|213.152.143.54|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://irr.ru/ [following]
--2010-09-04 20:04:13-- http://irr.ru/
Connecting to irr.ru|213.152.143.54|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'
[ <=> ] 75,467 --.-K/s in 0.07s
2010-09-04 20:04:13 (986 KB/s) - `index.html' saved [75467]