Hi, > Anyway, it's fixed now. I'll have to put a cron job in to mail me > if something screws up again. ideally code should check the database connection attempt and if it fails then it prints a more sane message for Joe Average to read such as 'site currently unavailable' rather than expose the backend errors ;-) alan