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 6 of 6
  1. #1
    New Coder
    Join Date
    Feb 2005
    Location
    South-East UK
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Mailto Link In Dreamweaver

    Hi, I'am making my own form in HTML using Dreamweaver, the question is when I click on the button I dont know where to put the Mailto HTML link can anyone give a link to a tutorial for this or tell me how to do this.

    Remember, It's for Dreamweaver

    Cheers

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    problem is... mailto probably doesnt work anymore in a form. you should be using a serverside language like PHP to process any form information which will then send the info to wherever afterwards.

    this setting would be your ACTION value in the FORM tag.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Action attribute, spam alert

    I haven't done any forms yet in DW -and whould use code view anyway, but as pb&j already mentioned, there's probably an "action" attribute somewhere if you pull out the details view on the submit button.

    At any rate: mailto actions aren't supported on every client; especially windows XP seems to need an other-than-default installation for this to work. Besides that, in this day and age it's not advisable to have your mail address as text in a page's markup: that's begging for spam attacks. Using some sort of (simple) form handler based on server side scripting would cover both of the above problems and could offer far more options for processing the submitted data.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #4
    New Coder
    Join Date
    Feb 2005
    Location
    South-East UK
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So what you guys are saying is use PhP instead of HTML to write a submit button so that it sends the form to my e-mail address.
    Thank you

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Any ol' SSL

    PHP, ASP, Perl, CGI... If you've got PHP available on your host's server, then yeah: I did a very basic one a while ago which was largely based on an example from WeberDev.

    Re-reading your last reaction: the idea is to create a form-handling script. The form is built in HTML, and on submit the form's contents are sent to the form handler (via the action attribute). The form handler then processes the form's content to, say, create and send an e-mail to your favourite address.

    This way, the mail address is hidden in the script and spammers get no chance at getting their grubby little hand on it.
    Last edited by ronaldb66; 03-02-2005 at 01:55 PM. Reason: Addition
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #6
    Regular Coder
    Join Date
    Nov 2004
    Location
    The Netherlands
    Posts
    551
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool

    It's very simple to create a form for php. When i'm at home i'll upload the contact.php i use myself, so you can customize it a bit.


  •  

    Posting Permissions

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