What is the ruling on swallowing phlegm while fasting?
If a fasting person intentionally swallows phlegm, their fast is invalid, as it is possible to avoid it.
However, if they swallow it unintentionally, their fast remains valid.
Phlegm is impure and should be avoided.
What is the ruling on wiping over socks?
It is not permissible to wipe over most common socks today because the conditions for wiping are not met. The concession was reported for wiping over leather socks (khuff) and socks (jowrab) with conditions: They must be thick, not allowing poured water to penetrate, enable one to walk in them, be worn while in a state of purity (from ablution), cover the entire foot up to the ankles (meaning covering the protruding ankle bones), and not be torn. And Allah the Almighty knows best.
What is the ruling on using toothpaste during the day in Ramadan?
Using toothpaste does not break the fast as long as nothing reaches the body cavity. However, it is disliked (makruh).
It is preferable for a fasting person to use it before the time of fast starts or after Iftar (breaking the fast) to avoid risking their fast.
What is the ruling on wiping the white area behind the ears instead of wiping the head?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. Wiping the white area behind the ears suffices for that. And Allah the almighty knows best.