Hacker News new | ask | show | jobs
by t0 4732 days ago
Oh it's simple really.

  $conn = fsockopen ('whois.verisign-grs.com', 43, $errno, $errstr, 1);
  fputs($conn, $domain."\r\n");
  while(!feof($conn)) 
	$output .= fgets($conn,128);
  $registrar = reset(explode("\n",end(explode('Registrar:',$output))));
1 comments

Awesome! Thanks for this. I'll play with it over the weekend. Still working on the specifics.