<?
function urlFriendly($title)
{
$title = preg_replace(array('/[^\w\s]/i', '/\s+/i'), array('','-'), $title);
$title = substr(strtolower($title), 0, 70);
return $title;
}
echo urlFriendly("SQL Server 2005 - Deny View of “Security”, “Server Objects”, “Replication” and “Management”?");