<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>WESPA PHP Newsletter Installer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="web site" />
<meta name="Description" content="new site" />
<meta name="author" content="elfin" />
<meta name="copyright" content="Copyright 2008 WESPA Digital. All rights reserved." />
<link href="css/install.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>WESPA PHP Newsletter</h1>
<p>Manage your mailing lists easily.</p>
<h2>File permissions check</h2>
<p>The
following files should all be writable for the mailist to
function properly . If something is not writable please make
them writable . </p>
<table class="fileperm" summary="file permissions check">
<tr>
<td>data/email.txt</td>
<td>
<?php if(is_writable( '../data/email.txt' ))
{echo '<strong style="color:#080;">Writeable</strong>'; }
else {echo '<strong style="color:#800;">Unwriteable</strong>';
$error="true";
}
?>
</td>
</tr>
<tr>
<td>globals.php</td>
<td>
<?php if(is_writable( '../global1.php' ))
{echo 'Global 1 <strong style="color:#080;">Writeable</strong><br />'; }
else {echo 'Global 1 <strong style="color:#800;">Unwriteable</strong><br />';
$error="true";
}
if(is_writable( '../global2.php' ))
{echo 'Global 2 <strong style="color:#080;">Writeable</strong><br />'; }
else {echo 'Global 2 <strong style="color:#800;">Unwriteable</strong><br />';
$error="true";
}
if(is_writable( '../global3.php' ))
{echo 'Global 3 <strong style="color:#080;">Writeable</strong><br />'; }
else {echo 'Global 3 <strong style="color:#800;">Unwriteable</strong><br />';
$error="true";
}
if(is_writable( '../global4.php' ))
{echo 'Global 4 <strong style="color:#080;">Writeable</strong><br />'; }
else {echo 'Global 4 <strong style="color:#800;">Unwriteable</strong><br />';
$error="true";
}
if(is_writable( '../global5.php' ))
{echo 'Global 5 <strong style="color:#080;">Writeable</strong><br />'; }
else {echo 'Global 5 <strong style="color:#800;">Unwriteable</strong><br />';
$error="true";
}
?>
</td>
</tr>
<tr>
<td>temp/</td>
<td>
<?php if(is_writable( '../temp' ))
{echo '<strong style="color:#080;">Writeable</strong>'; }
else {echo '<strong style="color:#800;">Unwriteable</strong>';
$error="true";
}
?>
</td>
</tr>
</table>
<div class="next">
<?php if(isset( $error ))
{echo '<strong style="color:#800;">There was some error !!!</strong>'; }
else {
echo '<a href="install1.php" class="menulink">Next Stage</a>';
}
?>
</div>
</body>
</html>