<?php $i = 5000; //кол-во запросов $url = 'http://google.com'; //сайт while($i <= 5000) { file_get_contents($url); $i++; } ?>