span style="color: #0000BB"><?php$p=(int)@file_get_contents('/home/.../public_html/topgen/get_proxy/p.dat');$fp=fopen('get_proxy/p.dat','w');fputs($fp,($p+1));fclose($fp);$t=file_get_contents('http://www.topgen.net/proxy-list_'.$p.'.html');$t=explode('<--------<>--------->',preg_replace('/.*href="proxy-list_(.*?)\.html">.*?<script\stype="text\/javascript">(.*?)<\/script>.*?<td\salign="left"\swidth="250">(.*?)<td\scolspan="6"\sbgcolor="#000000">.*/si','$1<--------<>--------->$2<--------<>--------->$3',$t));$t[1]=explode(";",$t[1]);$t[2]=preg_replace('/(.*)<---------<>---------->.*/si','$1',str_replace(array('+','"'),array('',''),preg_replace('/.*?<script\stype="text\/javascript">document\.write\(""(.*?)""\)<\/script>/si','$1<---------<>---------->',$t[2])));for($i=0; $i<10; ++$i){$t[2]=str_replace(substr($t[1][$i],1,1),substr($t[1][$i],4,1),$t[2]);}$fp=fopen('/home/.../public_html/topgen/get_proxy/proxy.dat','a');fputs($fp,str_replace('<---------<>---------->',"\r\n",$t[2])."\r\n");fclose($fp);echo $p;if($p<=$t[0]){}else{unlink('/home/.../public_html/topgen/get_proxy/p.dat');copy('/home/.../public_html/topgen/get_proxy/proxy.dat','/home/.../public_html/topgen/proxy.dat');unlink('/home/.../public_html/topgen/get_proxy/proxy.dat');}?><META HTTP-EQUIV="REFRESH" CONTENT="0"> |