Date: 11/23/99
- Next message: Massimiliano Masserelli: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Previous message: Rex Byrns: "[PHPLIB] Some really basic questions"
- Next in thread: Massimiliano Masserelli: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Reply: Massimiliano Masserelli: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Reply: Shawn Patton: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Reply: jim kraai: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi --
We use a cronjob for automatic database maintenance every Tuesday at
1:00am, and we'd like to "shut down" the site while the MySQL engine does
its stuff. Our problem is that many people arrive with bookmarks to pages
deeper within the site, therefore bypassing any simple index.html "cut-out".
Is there any reason we can't replace prepend.php3 with a script (by the
same name) which shows a "down for maintenance" page to ALL visitors, then
renames the proper prepend.php3 code when it's done?
We've played with this a bit, but the cronjob that runs nicely without the
rename/work/rename hangs up quite badly with it ...
Once the proper prepend.php3 has been added to the cronjob script, can the
actual prepend.php3 file be replaced temporarily? ... or are there
problems with this scenario?
Any better ideas on how to "shut down" the site ...?
Thanks --
Bob Bowker
bowker <email protected>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Massimiliano Masserelli: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Previous message: Rex Byrns: "[PHPLIB] Some really basic questions"
- Next in thread: Massimiliano Masserelli: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Reply: Massimiliano Masserelli: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Reply: Shawn Patton: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Reply: jim kraai: "Re: [PHPLIB] Sneaky Use of prepend.php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

