Ok, im making a simpleBB script, and have this for part of the acp login:
<?php
//acp by bmwboy
//copying or removing (c) is illegal
//shall we define?
$acppass = 'acp'
//shall it be verified?
/ $boxpass = strip_tags($boxpass); /
//all verified and checked
//admin okay?
if ($boxpass == $acppass) echo "Acp login was completed, cookie set." setcookie($acppass, $acppass, time()+3600);
setcookie($acppass, $acppass, time()+3600);
?>
<form method ="post"><br>
Admin Pass?<br>
<input type="password" name="boxpass" size="55"><br>
<INPUT name="submit" type="submit" value="Log Meh In">
</form>