Using strpos instead of stristr