Gosh, I hope I don't come off stupid with this question...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BklynRed
    Registered User
    • Mar 2007
    • 4

    #1

    Gosh, I hope I don't come off stupid with this question...

    I have a dillema

    I'm building a website for a friend.

    And her site contains forms.

    Here is where my problem lies.



    I'd like to know what is it I need to do or know to figure out
    where that form information goes to.

    I'd like for it to be sent to an email address.

    Is there anyway I can program that (i'm using Dreamweaver 8), or is it something she will do on her end.


    I am not the webmaster of her site, I'm just designing it.


    I hope this question was clear and you all can help.

    Please don't call me stupid. I feel bad enough already.


    I'll probably be back with more
  • PR_Sebas
    Confirmed User
    • Dec 2006
    • 2825

    #2
    i know there is a way to do it with javascript... cant think of it at the moment, if u dont get another response ill look it up for u...

    Comment

    • twan
      Confirmed User
      • Aug 2003
      • 798

      #3
      You should be able to do it with dreamweaver, but i'm not sure if there is a ready to use feature in dreamweaver for it, you might want to contact macromedia support and ask the question, they will likely know.

      Blog Submitter, submit to 15 blog dirs with 1 form.
      Free WordPress Blog Hosting - Become a Thumblogger Affiliate!

      Comment

      • BklynRed
        Registered User
        • Mar 2007
        • 4

        #4
        thanks a lot you guys, I'm going over my javascript tuts now and if I can't find what I'm looking for I will call Macromedia and see what they tell me. Appreciate the responses, thanks again.

        Comment

        • dbavaria
          Confirmed User
          • Nov 2005
          • 404

          #5
          Are you depending on the user's mail client or on a server side mail client to send the info? If only the user's client then you can do it in HTML/Javascript otherwise you will need a backend script in PHP or whatever language tickles your fancy.

          http://www.google.com/search?hl=en&s...rm&btnG=Search

          Comment

          • schneemann
            Confirmed User
            • Oct 2006
            • 749

            #6
            Holy fucking shit this thread is scary.
            You can't process a form with javascript.

            If you're looking to have the form info mailed to you, try www.phorm.com
            Deranged World

            Comment

            • dbavaria
              Confirmed User
              • Nov 2005
              • 404

              #7
              Originally posted by schneemann
              Holy fucking shit this thread is scary.
              You can't process a form with javascript.

              If you're looking to have the form info mailed to you, try www.phorm.com
              What I meant by HTML/Javascript is setting the form action to mailto: and the method to GET. Its the simple (but piece of shit) client side way of doing it.

              Oh yeah and your link is dead?

              Comment

              • schneemann
                Confirmed User
                • Oct 2006
                • 749

                #8
                Originally posted by dbavaria
                What I meant by HTML/Javascript is setting the form action to mailto: and the method to GET. Its the simple (but piece of shit) client side way of doing it.

                Oh yeah and your link is dead?
                mailto: as a form action is extremely insecure.

                Its too bad that link to phorm has gone away. Alan Little's "phorm" script was great.
                Deranged World

                Comment

                • glad2beme
                  Confirmed User
                  • Jan 2007
                  • 214

                  #9
                  Good luck on the website you're trying to build and i can smell something that's heating up...;)
                  WHERE WEBMASTERS GO TO PURCHASE VIDEO



                  ICQ# 97934302

                  Comment

                  • InfinityWebCreations
                    Registered User
                    • Feb 2007
                    • 21

                    #10
                    You can use mailto: for the form action, but I would honestly just either download a free PHP script (ie: hotscripts.com) or build a basic PHP mailer yourself.

                    Very simple example (for not knowing what form fields there are...):

                    <?php

                    $email = "[email protected]";
                    $subject = "Contact Submission";
                    $body = "";

                    foreach($_GET as $key=>$val) {
                    $body .= "$key: $val\n";
                    }

                    mail($email, $subject, $body);
                    ?>

                    (Using $_GET, so you'd want to make sure your form method was "GET".)

                    That's a pretty watered down example, but you get the idea. Best bet for such a simple script is just going to hotscripts.com. Good luck.
                    Now HIRING PHP/MySQL programmers! Apply at http://www.infinitywebcreations.com/apply.html.

                    Comment

                    • schneemann
                      Confirmed User
                      • Oct 2006
                      • 749

                      #11
                      Originally posted by InfinityWebCreations
                      You can use mailto: for the form action, but I would honestly just either download a free PHP script (ie: hotscripts.com) or build a basic PHP mailer yourself.

                      Very simple example (for not knowing what form fields there are...):

                      <?php

                      $email = "[email protected]";
                      $subject = "Contact Submission";
                      $body = "";

                      foreach($_GET as $key=>$val) {
                      $body .= "$key: $val\n";
                      }

                      mail($email, $subject, $body);
                      ?>

                      (Using $_GET, so you'd want to make sure your form method was "GET".)

                      That's a pretty watered down example, but you get the idea. Best bet for such a simple script is just going to hotscripts.com. Good luck.
                      This code is susceptible to header injection
                      Deranged World

                      Comment

                      Working...