Copy of original d64-web.php