A mild synthesis of vinyl halides and gem-dihalides using triphenyl phosphite-halogen-based reagents.