Her er de 3 filer rettet, så de osse kan bruges med nyere php versioner:
ware_gb.php:
------------
<?
/* Welcome to the WebWorkz Ware Guestbook. This system will allow you to have users post comments to your web site and is fully-customizable. Set the variables below to customize your guestbook. */
/* Customization Variables */
// Your web site address
$yoursiteaddress = "
http://localhost/";// Your web site name
$yoursitename = "Forsiden";
// Max entries per page
$maxperpage = "5";
// Allow HTML in guestbook submissions? (0 = No, 1 = Yes)
$allowhtml = "1";
$PHP_SELF = $_SERVER['PHP_SELF'];
/* --------------- DO NOT EDIT BELOW THIS LINE -------------- */ 
/* --------------- PRE-CONFIGURED LAYOUTS ----------------- */
$addform = "<FORM ACTION=\"$PHP_SELF?addsubmit=true\" METHOD=\"POST\">\n";
$addform .= "<table border=\"0\" cols=\"2\" width=\"500\">\n";
$addform .= "<tr>\n";
$addform .= "<td width=\"100\">Name:</td>\n";
$addform .= "<td width=\"400\"><input type=\"text\" name=\"name\"></td>\n";
$addform .= "</tr><tr>\n";
$addform .= "<td width=\"100\">E-Mail Address:</td>\n";
$addform .= "<td width=\"400\"><input type=\"text\" name=\"email\"></td>\n";
$addform .= "</tr><tr>\n";
$addform .= "<td width=\"100\">Site Name:</td>\n";
$addform .= "<td width=\"400\"><input type=\"text\" name=\"sitename\"></td>\n";
$addform .= "</tr><tr>\n";
$addform .= "<td width=\"100\">Web Site URL:</td>\n";
$addform .= "<td width=\"400\"><input type=\"text\" name=\"siteurl\" value=\"
http://\"></td>\n";$addform .= "</tr><tr>\n";
$addform .= "<td width=\"100\">Message:</td>\n";
$addform .= "<td width=\"400\"><TEXTAREA name=\"message\" cols=\"50\" rows=\"15\"></TEXTAREA></td>\n";
$addform .= "</tr><tr>\n";
$addform .= "<td width=\"100\"></td>\n";
$addform .= "<td width=\"400\"><input type=\"submit\" value=\"Send besked\">\n";
$addform .= "</tr></table>\n";
$addform .= "</FORM>\n";
include ("header.php");
include ("entries.inc");
include ("entrycounter.inc");
if (!isset($_GET['add']) && !isset($_GET['addsubmit']))    {
    echo ("<A HREF=\"$PHP_SELF?add=true\">Ny besked</a> - ");
    echo ("<A HREF=\"$yoursiteaddress\">Tilbage til $yoursitename</a><p>");
    $maxperpage = $maxperpage + 0;
    $start = !isset($_GET['start']) ? $lastentry : $_GET['start'];
    $end = $start - $maxperpage;
    $count = $start;    
    while ($count <= $start and $count > $end and $count > 0) {
    $entryid = "entry" . $count;
    echo ("<table border=0 cols=2 width=500>");
    if (isset($$entryid)) {
    while (list ($variable, $value) = each($$entryid)) {
    if ($allowhtml == 0) {
        $value = Strip_tags($value);
    }
    if ($variable == "E-Mail") {
        echo ("<tr>\n<td width=100>\n<b>$variable:</b>\n</td>\n<td width=400>\n<A HREF=\"mailto:$value\">$value</a>\n</td>\n</tr>\n");
    } elseif ($variable == "Site URL") {
        echo ("<tr>\n<td width=100>\n<b>$variable:</b>\n</td>\n<td width=400>\n<A HREF=\"$value\">$value</a>\n</td>\n</tr>\n");
        }        
        elseif ($variable == "Message") {
            $value = str_replace("\\\"", "\"", $value);
            echo ("<tr>\n<td width=100>\n<b>$variable:</b>\n</td>\n<td width=400>\n$value\n</td>\n</tr>\n");
            } else {
                echo ("<tr>\n<td width=100>\n<b>$variable:</b>\n</td>\n<td width=400>\n$value\n</td>\n</tr>\n");
            }
        }
        echo ("</table><hr width=100% noshade>");
    } else {
        $end = $end - 1;
    }
    $count = $count - 1;
    }
    $entryid = "entry" . $count;
    if (isset($_GET['start']) && $_GET['start'] != $lastentry) {
        $start = $_GET['start'] + $maxperpage;
        echo (" <A HREF=\"$PHP_SELF?start=$start\"><<< Back</a>");
        echo ("      ");
    }
    if (isset($$entryid)) {
        echo ("      ");
        echo (" <A HREF=\"$PHP_SELF?start=$count\">Next >>></a>");
    }
    echo ("<p><A HREF=\"$PHP_SELF?add=true\">Ny besked</a> - ");
    echo ("<A HREF=\"$yoursiteaddress\">Tilbage til $yoursitename</a>");
    } elseif (isset($_GET['add'])) {
        echo ("$addform");
    }
    elseif (isset($_GET['addsubmit'])) {
    extract($_POST);
    $required = Array (
    'Name' => $name,
    'E-Mail' => $email,
    'Message' => $message);
    $errorcount = 0;
    while (list($caption, $variable) = each($required)) {
        if ($variable == "") {
            ++$errorcount;
            echo ("Required Field <b>'$caption'</b> Was Left Blank.<br>");
        }
    }
    if ($errorcount == 0) {
        $filename = "entrycounter.inc";
        $increment = $lastentry + 1;
        $incrementoutput = "<? $" . "lastentry = " . $increment . "; ?>";
        $write = fopen($filename, "w");
        fwrite ($write, $incrementoutput);
        fclose($write);
        $entryid = "entry" . $increment;
        $datetime = date ("l F jS @ g:iA T");
        $addentry =  "<? $" . $entryid .
        " = Array ( " .
        "'Name' => '$name', " .
        "'E-Mail' => '$email', " .
        "'Posted' => '$datetime', " .
        "'Site Name' => '$sitename', " .
        "'Site URL' => '$siteurl', " .
        "'Message' => '$message'); ?>";
        $filename2 = "entries.inc";
        $write2 = fopen($filename2, "a");
        fwrite ($write2, $addentry . "\r\n\r\n");
        fclose($write2);
        echo ("<b>Thank You For Your Submission! We appreciate your comments.<p>Please feel free to <A HREF=\"$PHP_SELF\">Continue Reading</a> our Guestbook.</b></p>");
    } else {
        echo ("<p style='color:red'><b>Please Click Back and Fix These Errors.</b></p>");
    }
}
include ("footer.php");
?>
----------
header.php
----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<title><?php echo ("$yoursitename Gæstebog"); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<div style="text-align: center;">
-----------
footer.php
-----------
</div>
</body>
</html>