4 use Friendica\Network\Probe;
6 function webfinger_content(App $a) {
10 array("title" => t("Public access denied."),
11 "description" => t("Only logged in users are permitted to perform a probing.")));
15 $o .= '<h3>Webfinger Diagnostic</h3>';
17 $o .= '<form action="webfinger" method="get">';
18 $o .= 'Lookup address: <input type="text" style="width: 250px;" name="addr" value="' . $_GET['addr'] .'" />';
19 $o .= '<input type="submit" name="submit" value="Submit" /></form>';
24 $addr = trim($_GET['addr']);
25 $res = Probe::lrdd($addr);
27 $o .= str_replace("\n",'<br />',print_r($res,true));