3 require_once('include/Scrape.php');
5 function probe_content(App &$a) {
7 $o .= '<h3>Probe Diagnostic</h3>';
9 $o .= '<form action="probe" method="get">';
10 $o .= 'Lookup address: <input type="text" style="width: 250px;" name="addr" value="' . $_GET['addr'] .'" />';
11 $o .= '<input type="submit" name="submit" value="Submit" /></form>';
17 $addr = trim($_GET['addr']);
18 $res = probe_url($addr);
20 $o .= str_replace("\n",'<br />',print_r($res,true));