Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.6

Bug #17469 Query for "=test.com" returns "Unable to open socket"
Submitted: 2010-06-06 15:17 UTC
From: hm2k Assigned:
Status: Duplicate Package: Net_Whois (version 1.0.3)
PHP Version: 5.3.2 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2010-06-06 15:17 UTC] hm2k (James Wade)
Description: ------------ A search for test.com will return the following: To single out one record, look it up with "xxx", where xxx is one of the of the records displayed above. If the records are the same, look them up with "=xxx" to receive a full display for each record. A query with =test.com will return the following: Unable to open socket Test script: --------------- <?php $q=isset($_REQUEST['q'])?htmlspecialchars($_REQUEST['q']):NULL; //pear install Net_Whois-1.0.3 if ($q) { require_once 'Net/Whois.php'; $whois = new Net_Whois; $data = $whois->query($q); $data = htmlspecialchars($data); echo "<pre>$data</pre>"; } ?> Expected result: ---------------- Expected the result for test.com Actual result: -------------- You'll see "Unable to open socket"...

Comments

 [2010-06-09 17:17 UTC] hm2k (James Wade)
-Status: Open +Status: Bogus
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PEAR. Further details and fix in bug #17476
 [2010-08-01 19:08 UTC] hm2k (James Wade)
-Status: Bogus +Status: Duplicate