hi! fyi there have been several posts on both; check out these posts, and follow the links to more
Why didn't Spain get involved in World War Two?
Spain and Portugal in the World Wars
How did Portugal (as a fascist state under the Estado Novo) manage to stay non-belligerent in World War Two?