if($status != 'failed') { if(isset($RRCOMPOAUTOLOGIN)) { header("Location: login_action.php?mode=login"); } } ?>