2 require_once("include/Probe.php");
4 function webfinger_content(App $a) {
6 $o .= '<h3>Webfinger Diagnostic</h3>';
8 $o .= '<form action="webfinger" method="get">';
9 $o .= 'Lookup address: <input type="text" style="width: 250px;" name="addr" value="' . $_GET['addr'] .'" />';
10 $o .= '<input type="submit" name="submit" value="Submit" /></form>';
15 $addr = trim($_GET['addr']);
16 $res = Probe::lrdd($addr);
18 $o .= str_replace("\n",'<br />',print_r($res,true));