])*-->","", $text); while (eregi("[:space:]*(href|src)[:space:]*=[:space:]*([^ >]+)", $text, $regs)) { $regs[2] = ereg_replace("\"", "", $regs[2]); $regs[2] = ereg_replace("'", "", $regs[2]); if ($removeQ) $mylist[] = ereg_replace("\?.*$", "", $regs[2]); else $mylist[] = ereg_replace("#.*$", "", $regs[2]); $text = substr($text, strpos($text, $regs[1]) + strlen($regs[1])); } $mylist = sortarray($mylist); for($i=0; $i<]", $url))) { if ($removeQ) $url = ereg_replace("\?.*$", "", $url); $urlArray = parse_url($url); if (!$urlArray[port]) $urlArray[port] = "80"; if (!$urlArray[path]) $urlArray[path] = "/"; if ($urlArray[query]) $urlArray[path] .= "?$urlArray[query]"; $uri = "http://".$extra.$urlArray[host].$urlArray[path]; while($uri != firstArd($uri) && $trin++ < 5) { $uri = firstArd($uri); $steps[] = $uri; } } ?> Linkchecker

Linkchecker

"; for($i=0; $i \n"; } print "
>Remove querystring
>Other links
 
\n"; print "
StatusDescriptionURL
$code $text[$code] "; if (eregi("^text/html", $contentType) && ereg("^(2|3)+[0-9]{2}", $code)) { print "".rawurldecode($liste[$i]).""; } else print rawurldecode($liste[$i]); print "
\n"; } else print "

I didn't find any links.

"; print ''; if (count($steps) >= 1) { print "

Passerede

"; print "
    "; for($i=0; $i

    $steps[$i]\n"; print "

"; } if (count($statCode) >= 1) { while(list($key, $value) = each($statCode)) { $procent = ereg_replace('(\.)?0+$', '', number_format(($value*100/count($liste)),2,".","")); $space = ""; for($i=0; $i<$procent/3; $i++) $space .= " "; $print_statsCode .= " $text[$key] $value $space $procent% \n"; } print "

Responce codes

"; print ""; print ""; print $print_statsCode; print "
Status   Number   Percent
"; } if (count($statContentType) >= 1) { while(list($key, $value) = each($statContentType)) { $procent = ereg_replace('(\.)?0+$', '', number_format(($value*100/count($liste)),2,".","")); $space = ""; for($i=0; $i<$procent/3; $i++) $space .= " "; $print_statsContent .= " $key $value $space $procent% \n"; } print "

Content-Type

"; print ""; print ""; print $print_statsContent; print "
Content-Type   Number   Percent
"; } print ''; } if ($url && !$uri) print "

Invalid adresse.

"; ?>