moved strposa to utilities.php