Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts

    password script needed...security not really an issue

    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!

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    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
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is a temporary measure until the site is redesigned (using PHP). For now, a mailto is fine; how would that be written up?

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #5
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,080
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    As Alien51 said, you need a server-side language. This amounts to an auto-responder.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •