<?php include_once("rndConditionPass.class.php"); $condition = array('caps'=>2, 'small'=>3, 'nums'=>2, 'specs'=>2); $pass=new rndConditionPass(7,$condition); $tmppass=$pass->PassGen(); echo $tmppass; ?>