Malaria pills

Has anyone ever taken the malaria pills instead of getting a shot?