Parser mail.ru

Good day to you friends. I'm writing an email parser mail.ru my goal is this link

http://my.mail.ru/my/search_people?st=city&Password=&city_id=1092&Domain=&Login=

I use this code to access the page

//Javascript я свиснул с сайта сграбь.ру (подсказали на этом сайте)
<a href="javascript:(function(){window.name=document.location+'|||'+document.body.innerHTML;
document.location='http://geepars.ru/';})()">Украсть</a>

<?//сюда приходит полный адрес то есть  http://my.mail.ru/my/search_people?st=city&Password=&city_id=1092&Domain=&Login=
$file = $_SERVER['HTTP_REFERER'];

$file2 = file_get_contents($file);
//В текстовый документ я закидываю исходный код! только адресов там НЕТ))
file_put_contents("ishodnik.txt",$file2,FILE_APPEND);

If I manually pull out the source code (right-click), then everything works! I have a continuation, the script searches for addresses and converts them to the correct emails. I just need to go to the page and make the script go to the end of the page and switch to another

Author: Deleted, 2012-12-24

1 answers

curl-om in the process, you need to take the page or

fopen(http://my.mail.ru/my/search_people?st=city&Password=&city_id=1092&Domain=&Login=)
$file = $_SERVER['HTTP_REFERER']; //в этой переменной будет хранится ссылка на предыдущую страницу

If the problem is with authorization, then curl with sending data to the server

 0
Author: Grey, 2012-12-26 15:00:36