Been there, done that. You can take the "ears" off the end of a front (remove the u-joint), and use them in the rear (with a new u-joint). Consider that your rear shaft may have slipped out, bent backwards, and destroyed the "ears" when it bent over and broke the u-joints with it.