PHP fsocketopen Though Proxy
问题 I am currently using PHP to open up a port 43 connection to get whois information directly from a registry using this code. // connecting to the whois server. $handle = fsockopen($server, 43); if (!$handle) return false; // connection failure //asking the server fwrite($handle, $domain_name."\r\n"); // getting response $response = ''; while (!feof($handle)) $response .= fgets($handle, 1024); fclose($handle); It works great however I want to connect though a proxy server so I route my