Log in

View Full Version : help with registration form



mfrankena
05-31-2006, 01:07 PM
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

Twey
05-31-2006, 01:17 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 (http://uk.php.net/manual/hk/function.mail.php)() function.

mfrankena
05-31-2006, 01:32 PM
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

Twey
05-31-2006, 02:35 PM
The mailto: form? No.

djr33
05-31-2006, 05:06 PM
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.

atanas1234
06-28-2006, 12:22 PM
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