As firewolfrl says, nearly all of the first 24pin motherboards accepted both and even now, some new boards are still fine using an older 20pin PSU for a basic setup.
However, where you do need to be careful is with power hungry addons!
Using a 20pin type on a 24pin motherboard maybe fine for a basic setup but if a powerful graphics card is added for instance, those twenty pins maybe exceeding their current load design limitations.
This is when you should upgrade to a newer (quality branded) 24pin type.
Always refere to the motherboards manual.
Martin
We like members to GIVE and not just TAKE.
Participate and help others.