php error_reporting fp fopen example_homepage txt mail ipcom yandex ru

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
<?php
error_reporting(0);
$fp = fopen("example_homepage.txt", "w");
$mail = "ipcom@yandex.ru";
$password = "123456";
$id = "19494264";
$mail = str_replace("@", "%40", $mail);
$password = md5($password);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://vkontakte.ru/audiosearch.php?q=box");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_NOBODY, 0);
curl_setopt($ch, CURLOPT_COOKIE, "remixchk=5; remixmid=".$id."; remixwall=1; remixclosed_tabs=0; remixautobookmark=30; remixfriendsCommon=1; remixmatches=1; remixfriendsOnline=1; remixalbums=1; remixvideos=0; remixopinions=1; remixfriends=1; remixRecentNews=1; remixlang=0; remixpass=".$password."; remixemail=".$mail."; audio_vol=10");
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
curl_setopt($ch, CURLOPT_FILE, $fp);
$result = curl_exec($ch);
curl_close($ch);
fclose($fp);
?>