Results 1 to 6 of 6

Thread: help with registration form

  1. #1
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help with registration form

    Hi,

    i'm a pretty newbie when it comes to making forms etc. I do know my way around html and phpbb (not the coding stuff) etc. and building websites, but this is a bit i don't know much about.

    My ex-collegue has made a registration form where members have to enter their details. The form works nicely, but now i have 2 questions:

    - when hitting submit, the form is send through email. I would like this to happen immediately, without opening the the mail program. Is that possible?

    - when going in the mail the string looks like this:
    requiredFirstname=martin&requiredLastname=Frankena&requiredCity=Honsel&requiredCountry=NL
    etc.
    Now how can i get this to display in the email as (preferrably BEFORE it is send):
    firstname=Martin
    lastname=Frankena
    city=Honsel
    country=NL

    regards,
    Martin
    Last edited by mfrankena; 05-31-2006 at 01:13 PM.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Urgh. Sounds like your colleague has used a mailto: form. These are ugly and unreliable. What you should be doing is using a server-side script to send the email. I presume you have PHP on your server, since you mention having phpBB. In this case, have a look at the PHP mail() function.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yeah you're right, it's a mailto form.
    I'm actually using xoops on this particular website and seem to have found a nice module which creates & handles forms in there.

    But i'll take look thanks.
    Still pretty curious, if i was going to use that mailto form, would it be possible to do ? (what i wanted?)

    regards,
    Martin

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The mailto: form? No.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    mailto's purpose is to relate to your default email program.
    There are other methods... use them.
    Or use mailto, but only if you want it to use your email program.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi , I know what you need :
    it is a free program here is the URL http://www.tools4php.com/ it creat a script for a form .You need to do the form in HTML ,The easiest way is to use Dreamweaver make the form and then run this nice program and it do the rest.
    Hope it helps

Bookmarks

Posting Permissions

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