/lib/func.php