Dreamweaver-Submitting a form

Discussion in 'HTML & Website Design' started by alicattt, Jul 12, 2007.

  1. #1
    Hi all,

    How do i get a form on dreamweaver to submit to a specific email address. I have a great dreamweaver book, but the section on forms is very limited.

    Any suggestions?

    Cheers
     
    alicattt, Jul 12, 2007 IP
  2. Daudulus

    Daudulus Member

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Daudulus, Jul 12, 2007 IP
  3. alicattt

    alicattt Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Great I'll check it out.

    Thanks!
     
    alicattt, Jul 12, 2007 IP
  4. alicattt

    alicattt Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    that seems to sort of work, but in safari and netscape, it just opens up .mac/.pop applications. is there a way round this so it just goes direct to the mailto address. also it only seems to submit the 1st text field, when i have three fields to submit
     
    alicattt, Jul 12, 2007 IP
  5. PHPGator

    PHPGator Banned

    Messages:
    4,437
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    260
    #5
    You need to use PHP to submit forms properly. There is a mail() function which you use to do it. I can help you set it up if you need me to. PM me ;)
     
    PHPGator, Jul 12, 2007 IP
  6. jawanda

    jawanda Peon

    Messages:
    151
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Indeed.


    The mailto: function is just a way of telling your browser to open up your default mail program with the specified address, subject, etc. it doesn't actually have the ability to send email.

    As I've learned the hard way, if you are going to utilize a very simple php mail script, be careful! Take at least some small steps to make sure that the cc, bcc, and to fields are "locked" so to speak and cannot be changed. Had a client's php mail script get exploited and the bastards sent out 10's of thousands of spams through it before we caught it (within an hour).
     
    jawanda, Jul 12, 2007 IP
  7. Daudulus

    Daudulus Member

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #7
    Thought this would be the most easiest way for him. :) But it actualy isn't really hard to set up a basic php mail form. Just read some tutorials about it.
     
    Daudulus, Jul 12, 2007 IP
  8. alicattt

    alicattt Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks all for your help people. Daudulus I shall look into some tutorials as you suggest. Really wanna get my head round this stuff so will have a go and then PHPGator I will message when i get stuck. expect one soon :)
     
    alicattt, Jul 12, 2007 IP