Before uploading the script, edit it and change $adminpassword. To access the admin panel, visit guestbook.php?admin=1 and enter your password.