-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
As far as the problem of generating an empty index file, you could have the buildpage() function redirect the lynx output to a temporary file ($1.temp) and check that file for validity somehow (i.e. non-zero size or grep for a known string ("Postgres"?)) If it fails, send mail to webmaster and exit. If it succeeds, run mv $1.temp $1.html. Or use cp instead of mv and you have a copy of the previous page always preserved. - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200303111731 -----BEGIN PGP SIGNATURE----- Comment: http://www.turnstep.com/pgp.html iD8DBQE+bmSnvJuQZxSWSsgRAv3RAJ9vJ1Jaupd1XivctHzDunVv5sbWgwCdHmCC 9ehCuTJI5QOn79aV6AlYAxo= =2BZ3 -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]