Here is you first funtion
PHP Code:
function stderr($heading, $text, $htmlstrip = FALSE)
{
stdhead();
stdmsg($heading, $text, $htmlstrip);
stdfoot();
die;
}
and if you get a second error after you install this then add this funtion
PHP Code:
function stdmsg($heading, $text, $htmlstrip = FALSE)
{
if ($htmlstrip) {
$heading = htmlspecialchars($heading);
$text = htmlspecialchars($text);
}
print("<table class=main width=750 border=0 cellpadding=0 cellspacing=0><tr><td class=embedded>\n");
if ($heading)
print("<h2>$heading</h2>\n");
print("<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td class=text>\n");
print($text . "</td></tr></table></td></tr></table>\n");
}
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in
BT.Manager™ forum
My Current Demo is here
http://demo.btmanager.org/