From: Dominik 'R. M. <do...@gr...> - 2006-02-27 01:46:14
|
Hello, everyone. I'm writing a DNSBL management system that'll make extensive use of phpwhois. I'm adding a handler for .pl domains (will send later) and the format is so atypical that I've written my own parser instead of using any of those found in whois.parser.php. Basically it has some blocks, but data within the blocks is RPSL-style except for nserver list and registrar's data. While doing that, I've encountered a bug that caused the nserver array to always contain only the last nameserver and only as a ["" => hostname] pair. It took me over half an hour to figure this one out. Patch attached. -- The Fremen were supreme in that quality the ancients called "spannungsbogen" -- which is the self-imposed delay between desire for a thing and the act of reaching out to grasp that thing. -- from "The Wisdom of Muad'Dib" by the Princess Irulan |