Create checklife.php