GuestBook
/* Choose a guestbook filename by getting the path of this
file and stripping off the .html part. You can hardcode
a filename here if you want */
$fn = $PATH_TRANSLATED;
$fn = $fn - "\.html";
/* Check if we are in read mode by checking the command line argument */
if ($argv[0]=="read");
/* Check if the file exists */
$err = fileinode($fn);
if($err<0)>
Guestbook is empty!