Co-reg and tell a friends scripts...anyone?

They have: 21 posts

Joined: May 2003

Any programmers here know how to setup co-reg (opt-in/out) and tell-a-friend scripts?

I desparetely need to set these up on my free membership by email form.

thanks

don't eat animals.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Moving this to server-side scripting.

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Do you have pre-made scripts that you need installed? or are you asking how to program these scripts from scatch?

I'm sure you could find something at http://hotscripts.com that would come close to what you need.

Mark Hensler
If there is no answer on Google, then there is no question.

They have: 21 posts

Joined: May 2003

Need to do it from scratch. Sad

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Don't despair, you're in the right place!

A tell-a-friend script basically just emails whomever is put in the form, right? You can connect it to a db and track/record the emails as well (though you MUST reveal this in a privacy agreemnt). Make the form, then submit it to a script that will mail the information. Check out mail(); at php.net and read the comments for help. You'll probably want to investigate form validation as well.

The opt-in/opt-out scripts will be more complicated, but again, start with the forms, then you can script them. Figure out what functions you want to have, and for this, you'll need a database to keep track.

Adding them into the database isn't hard, and once in, in order to opt-out, they should be able to enter their email address and press a button and maybe go through a confirmation page and ta da! Delete that record from the database.

Now wait and watch and people who know a LOT more than I do about it will tell you all the pieces I forgot to mention. Wink

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.