Php obtains the http-header to determine whether the file exists. I want to use php to write a file for detection, but the tragedy found that php is a single thread, the speed is very slow, first record, back at night to modify .? Phpset_time_limit(0)$filephp.txt; $ conte wants to use php to write a file for detection, but the tragedy found that php is a single thread, the speed is very slow, first record, come back at night to modify.
Set_time_limit (0 );
$ File = 'PHP.txt ';
$ Content = file_get_contents ($ file );
// Echo $ content;
$ Array = explode ("\ r \ n", $ content );
// Print_r ($ array );
$ Url = 'http: // xssxss.com ';
For ($ I = 0; $ I
{
$ Header_array = get_headers ($ url. $ array [$ I]);
If ($ header_array [0] = 'http/1.1 200 OK '){
Echo ''. 'file exists
';
Echo 'scan is finished ';
} Else {
}
}
?>
This article fixed link: http://www.xssxss.com/fuck/325.xss | Shine's holy heaven-Min Chen 〃
Bytes. ? Php set_time_limit (0); $ file = PHP.txt; $ conte...