Devam Ediyor

487763 port 43 whois via proxy connection - PHP

Hello,

I am looking to hire someone for a project. The server is LAMP based running the latest PHP and MySQL.

This project requires a programmer with good networking skills.

What I am trying to do is tunnel URL's from the server utilizing various private proxies. The proxies are basically a big pool of IP's that must be rotated, make the connection and retrieve the data.

The problem is that my current programmer is using PHP Curl. It seems this cannot be completed with CURL. He recommended fsock()open, but he doesn't know how to write the code to get the job done.

The purpose of this code is to connect to a whois server via port 43 and retrieve whois data for domain names.

Here is a snippet of the code we were using with CURL:

curl_setopt($cUrl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);

$use_proxy=$_GET["proxy"];

$domain="domain [url removed, login to view]";

$whois_server = "[url removed, login to view]";

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $whois_server.":43"); // Whois Server

if($use_proxy)

curl_setopt($ch, CURLOPT_PROXY, '[url removed, login to view]'); //Proxy IP

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_TIMEOUT, 10);

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $domain."\r\n"); // Query

$whois = curl_exec ($ch);

curl_close($ch);

echo nl2br($whois);

The above code will not retrieve the whois info. It either grabs a blank page or asks you to visit the sponsor registrar's whois server.

I hope the above can be converted to fsockopen.

Beceriler: Her şey Kabul, MySQL, PHP, SEO

Daha fazlasını görün: proxy port, proxies port, php fsockopen proxy whois, php whois via proxy, whois via proxy, php curl whois port, php whois proxy, php curl proxy whois, php proxy whois, hire connection, php mysql connection, hire programmer job, hire programmer php, hire programmer write code, hire programmer project based, google proxy server, write php mysql, whois, registrar, r programmer, proxy php, php proxy, hire good programmer, google ch, domain whois

İşveren Hakkında:
( 6 değerlendirme )

Proje NO: #2233673