-
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.
-
-
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.
-
-
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
-
-
-
-
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
-
-
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
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks