[FX.php List] "site down for maintenance" include?

Andy Gaunt andy at fmpug.com
Wed Mar 7 10:44:31 MST 2007


Joel,

If you are wanting this for when you perform maintenance you could just
include a variable in your include that If true redirects to a "maintenance"
page.

This would be the first item on all pages (so no matter how the visitor
arrived it would look for the flag).


Andy Gaunt
Office: 321.206.3658
Mobile: 407.810.4722
andy at fmpug.com
http://www.fmpug.com    

2006 FileMaker Excellence Award Winner
Recipient of FileMaker's 2005 "Mad Dog" Public Relations Award

For chapter locations, dates & times please visit the website at
http://www.fmpug.com If you can make it to a meeting, please RSVP at
http://www.fmpug.com/rsvp.php

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Joel Shapiro
Sent: Wednesday, March 07, 2007 12:35 PM
To: FX.php Discussion List
Subject: [FX.php List] "site down for maintenance" include?

Hi all

Has anybody implemented a procedure to automatically alert users when  
a site is down due to the FM files being closed on FMSA?

I'm thinking an include on every page that could check if the DB is  
available, and if not, present a friendly message to site-visitors  
and then a php exit;

Would this work?  Is there a specific FX error to easily check for?

This would be for when the DB needs to be closed for updating, etc.

Thanks,
-Joel
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list