Stardoll membership codes aren't something that can simply be handed out; each one is tied to an individual account.
The best way to get membership is to sign up through the official Stardoll website, where you can choose a plan that suits you.
Stardoll also runs occasional promotions and giveaways, so keeping an eye on their official pages is a good way to snag a membership legitimately.