
Untitled
By: a guest on
Jun 26th, 2012 | syntax:
None | size: 0.43 KB | hits: 7 | expires: Never
// check the maintenance mode switch - see commonfns ***************************************************
maintenanceCheck ();
echo "<P>parent1 result says $result";
// only show this page if maintenance switch is off
if ($onoff == 1) {
// show "undergoing maintenance" page
echo "<P>undergoing maintenance - don't hold your breath!";
} else {
//execute the rest of this script
echo "<P>parent2 onoff says $onoff";
}