<?php
include("CMS_Detector.class.php");
$url="http://www.joomla.org/";
if (substr($url,0,7)!="http://")
{
die("Invalid URL!");
}
$content=file_get_contents($url);
$apps=CMS_Detector::process($content);
foreach($apps as $app)
{
$url=CMS_Detector::appToURL($app);
echo "<a href='$url'>$app</a>";
echo "<br />";
}
?>
|