Use cotrim (trimethoprim sulfamethoxazole) forte ratiopharm against uti?

Good generic med. Same as bactrim, (sulfamethoxazole and trimethoprim) septra, sulfatrim or sulfamethoxiozole-trimethoprim.