Need some help here.

fegima

Registered
I a making some stuff for a homepage but i'm stuck.
<small><b>Navn:</b></small><input type="text" name="username" size="25" maxlength="100" value=""><br>
<small><b>Nick:</b></small><input type="text" name="password" size="25" maxlength="100" value=""><br>
<small><b>Telefon:</b></small><input type="text" name="fullname" size="25" maxlength="100" value=""><br>
<small><b>Mail:</b></small><input type="text" name="Email" size="25" maxlength="100" value=""><br>


there is some input stuff.. .and ofcourse it is a submit button.. or it should be. could anyone help me now because here is the problem: i need a submit button so when people press submit the will be sendt a mail to kalle_klovn25@hotmail.com with all that is written in the input. i've got a mail server to use but i dont know what commands i should use in the submit button. it would be very nice if you could help me because this has to be finished soon.
 
You need to use either cgi or something like PHP.

The submit button will not do any of the commands you require... it will mearly pass the form to a cgi script (written in Perl), which sits in your web servers cgi-bin. This script will process the form data and send it to the relavent e-mail recipient.

For good info and tutorials, check out http://www.hotscripts.com
 
ok...

u can't have form submitted using .html files.
usually, we use .cgi or .php files...

for me, i use .php files using the mail() function.

u might want to have 2 files.
1. .html file where u have ur form
2. .php file where u have mail() function to send email to ur account.

=)
 
Back
Top