So far this is what I have, but it doesn't seem to be working...
<?
$file = fopen('wiu.dat','r')
while (wui = fgets($file)){
if ($wui = 'True') {
header("Location: index.html");
die()
} else {
echo"<h2>Down for maintenance.</h2>"
;}}
fclose($fh);
?>
Any feedback would be greatly appreciated
if ($wui == 'True')statement.$inwhile (wuifor one thing. If that's your actual code, error reporting's saying "undefined constant wui...".