one more supported database is fine, but why not use the ADODB-lib. So we could have a lot of supported databases. It is also Open-Source and under the GNU/BSD licence.[quote]
<small>[ Edited by volker on 2002/2/27 15:22:32 ]</small>
/* article page output */
global $bodytext;
$htmlless = strip_tags($metatitle.",".$bodytext);
$search = array(
"/&gt;/i",
"/&lt;/i",
"/&amp;/i",
"/&quot;/i",
"/&#039;/i",
"/[^-w']/i",
"/s+/",
"/ (.{1,3}),/i",
"/(, )$/"
);
$replace = array(
">",
"<",
"&",
""",
"'",
" ",
", ",
"",
""
);
$metatags = preg_replace($search, $replace, $htmlless);
$metatags = explode(", ",$metatags);
$metatags = array_unique($metatags);
$metatags = implode(", ",$metatags);
echo "<meta http-equiv="keywords" content="".ucwords($metatags).""></meta>n";
}
else
{
echo "<meta name="keywords" content="".$meta.""></meta>n";
}
echo "<meta name="description" content="".$xoopsConfig['slogan'].""></meta>n";
echo "<meta name="generator" content="".$xoopsConfig['version'].""></meta>nnn";
echo "<meta http-equiv="Content-Type" content="text/html; charset="._CHARSET."" />n";
// Fin - Hack référencement