Nytro Posted January 14, 2010 Report Posted January 14, 2010 A simple proxy list checker. You can check a list ip:port if that port is opened on that IP.<?php$fisier = file_get_contents('proxy_list.txt'); // Read the file with the proxy list$linii = explode("\n", $fisier); // Get each proxy$fisier = fopen("bune.txt", "a"); // Here we will write the good onesfor($i = 0; $i < count($linii) - 1; $i++) test($linii[$i]); // Test each proxyfunction test($proxy){ global $fisier; $splited = explode(':',$proxy); // Separate IP and port if($con = @fsockopen($splited[0], $splited[1], $eroare, $eroare_str, 3)) { fwrite($fisier, $proxy . "\n"); // Check if we can connect to that IP and port print $proxy . '<br>'; // Show the proxy fclose($con); // Close the socket handle }}fclose($fisier); // Close the file?>L-am postat si aici: http://php.net/fsockopenE primul de la Notes, jos... Quote