From: Hans-Peter K. <php...@ti...> - 2006-05-08 17:47:15
|
Hello I think i found 2 bugs in whois.parser.php and in whois.de.php In whois.parser.php: If i make a request for "timesoft.pl", then it shows me a PHP runtime error. I found out, there is a control for an empty array missing. This is my solution: function generic_parser_b ( $rawdata, $items, $dateformat='mdy', $hasreg=true, $scanall=false ) { $r=''; $disok=true; ++ if (is_array($rawdata)) while (list($key,$val)=each($rawdata)) { if (trim($val)!='') { In whois.de.php If i make a request for a de-domain then the skript cant find the nameserver. I found out, there is a fault definition for the items from the nameserver. This is my solutions: $items = array( 'domain.name' => 'Domain:', -- 'domain.nserver' => 'Nserver', ++ 'domain.nserver.' => 'Nserver:', 'domain.status' => 'Status:', 'domain.changed' => 'Changed:', Then, i have written a new handler for .sc domains. Is it okay to send them through this list?, or is there another mailadress? Okay and thank you for the good script!!! Kind regards Hans-Peter Kohnle P.S.: Sorry for my bad english ;-) |