...

View Full Version : password script needed...security not really an issue



kargrafx
11-13-2006, 12:17 AM
Hi,

I have a friend who wants to colect email addresses from visitors to his website. He really isn't looking for 'security', but is more interested in collecting emails and simple contact information.

Is there an easy way to have a short form (name, email address, phone number) which collects that info, then sends a password which they can use to log in?

Such as, I enter 'John Doe', 'jdoe@yahoo.com' and '555-1212', then I get an email (at jdoe@yahoo.com) with a password. The collected info should be either emailed to an admin, or better yet appended to a text file.

Thanks!

A1ien51
11-13-2006, 04:45 PM
If you really want to collect data, you are going to need a serverside language.

If you can't use a serverside language, all you can do is mailto, and that is very limited.

Eric

kargrafx
11-13-2006, 05:33 PM
This is a temporary measure until the site is redesigned (using PHP). For now, a mailto is fine; how would that be written up?

kargrafx
11-13-2006, 08:14 PM
specifically, I would like the following to occur...

>A form is filled out, requiring four fields, "Name", "Email", "Phone Number", and an "Opt-In" checkbox.
>The user submits the form, and two emails are sent.
>One is sent to (admin@site.com) with the form field info.
>The other is sent to the address from form field 'Email', and is a pre-written email with a password to access the site.

How would I write the script to do that?

Philip M
11-14-2006, 08:40 AM
As Alien51 said, you need a server-side language. This amounts to an auto-responder.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum