You might be better off simply buying a new PC instead of upgrading the RAM and HD of such an ancient beast.
However, if you really want to do the RAM upgrade, go to somewhere like Crucial (see link in the header) to do a search for the PC type you have and it will tell you what RAM will work.
Conversely, you could try just cutting down your current long sticks to fit the shorter slots.