That's good. Those were symptoms of a serious infection or serious problem within the brain and require immediate medical attention.
Did your child's headache start after a bump to the head?