5 require_once("include/Probe.php");
7 function webfinger_content(App $a) {
11 array("title" => t("Public access denied."),
12 "description" => t("Only logged in users are permitted to perform a probing.")));
16 $o .= '<h3>Webfinger Diagnostic</h3>';
18 $o .= '<form action="webfinger" method="get">';
19 $o .= 'Lookup address: <input type="text" style="width: 250px;" name="addr" value="' . $_GET['addr'] .'" />';
20 $o .= '<input type="submit" name="submit" value="Submit" /></form>';
25 $addr = trim($_GET['addr']);
26 $res = Probe::lrdd($addr);
28 $o .= str_replace("\n",'<br />',print_r($res,true));