forms

Sharky Forums


Results 1 to 9 of 9

Thread: forms

  1. #1
    Goldfish
    Join Date
    Nov 2000
    Posts
    52

    Post forms

    I've designed my site using dreamweaver4 and decided to use a simple form on my contacts page, just 3 boxes being senders email, name, and the comments box. I would like to know if there is anything i have to enter as code after just pressing insert text box button on the forms menu in dw4 and how to basically make it work. I'm using domaindlx as my host which supports asp, scripts etc etc if thats any help.

    any help would be greatly appreciated!!

  2. #2
    Ultra Great White Shark!! richardginn's Avatar
    Join Date
    Feb 2001
    Posts
    16,118

    Post

    What you will need to do is find an asp 3.0 compatible email script.

    You will need a button on the form that says send comment.

    After clicking on the button it will run the asp script and send you an email.
    ------------------
    www.geocities.com/richardginn/templatehtml -Come visit the Template HTML homepage

    [This message has been edited by richardginn (edited April 24, 2001).]
    www.myeducational plan.com-come see my plan to fix the USA educational system. I hope this is sig legal. Major Site Design Update on July 18, 2006. On June 18, 2009 passed the 10,000 post mark. December 24, 2009: Major Theme change and more....

  3. #3
    Tiger Shark
    Join Date
    Mar 2001
    Location
    Next door.
    Posts
    546

    Post

    don't forget to specify the form action to point to the cgi/asp or whatever script.

    ------------------
    "There are two steps to success: 1. Never tell everything you know 2. See #1"
    BLAH

  4. #4
    Ex-*** kid A's Avatar
    Join Date
    Sep 2000
    Location
    Norway
    Posts
    5,322

    Post

    If your host supports php, nothing is simpler than the formmail.php script. You can get it from the following url:

    http://www.boaddrink.com

    You will only have to change one thing, and that is the domain which is allowed to use the script ($referer) - you'll find it easily. Remember to set formmail.php as the form action in you html file.

    ------------------
    Now listening to:
    Mogwai - Rock Action
    [This is an ad for]

    [This message has been edited by kid A (edited April 25, 2001).]
    Now listening to various rock and metal
    143rd member to join Sharkyforums.

  5. #5
    Goldfish
    Join Date
    Nov 2000
    Posts
    52

    Post

    thanx.
    do i have to include any extra code/script etc into the anything other then the submit buttun for eg the boxes in which you type or will it automatically include everything into the email after pressing submit?

    thanx again.

  6. #6
    Goldfish
    Join Date
    Nov 2000
    Posts
    52

    Post

    I just got formmail.php from boaddrink but I am still unsure on what to change within the file. What do i change $referer to and where do i put the email address to where the form info is to be sent?

  7. #7
    Goldfish
    Join Date
    Nov 2000
    Posts
    52

    Post

    sorry for all this.....
    after trying for over an hour to get the formmail.php to work I finally found out that my server dosent support php unless i pay them, and only has cgi support, anyone know how to get it working via cgi?

  8. #8
    Ex-*** kid A's Avatar
    Join Date
    Sep 2000
    Location
    Norway
    Posts
    5,322

    Post

    Originally posted by djelal:
    sorry for all this.....
    after trying for over an hour to get the formmail.php to work I finally found out that my server dosent support php unless i pay them, and only has cgi support, anyone know how to get it working via cgi?
    Formmail.pl is a CGI script that does the exact same thing. You can get it from Matts Script Archive. I think it goes under http://cgi.resourceindex.com or http://matt.resourceindex.com - you find it easily though. It is actually the script upon which the formmail.php is based.

    You form should look something like this:

    <form method=post action=cgi-bin/formmail.pl>
    <input type=hidden name=recipient [email protected]>
    <input type=text name=whatever size=40>
    </form>

    Of course you may add to it as you wish. The directions are all there in the formmail package

    ------------------
    Now listening to:
    Mogwai - Rock Action
    [This is an ad for]
    Now listening to various rock and metal
    143rd member to join Sharkyforums.

  9. #9
    Goldfish
    Join Date
    Nov 2000
    Posts
    52

    Post

    cheers....appreciated.

Posting Permissions

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