Log in

View Full Version : Form



ClubTime
30-04-2006, 02:14 PM
i have completed my form and i have used the mailto:myemail address but the popup comes up saying 'this from is being sent using email etc'

how do i stop that and make it go to a redrict page?

nets
30-04-2006, 02:28 PM
The action of the form needs to be a server-side script. Practically you just need a PHP page, which gets the POST data and sends it to you.
If you decide to make it yourself, here's some stuff which might help you:

Get data from POST:
$name = $_POST['name'];

Mail function:

mail($address, $subject, $message, $headers);

ClubTime
30-04-2006, 03:31 PM
the form is in html

Bomb-Head
30-04-2006, 03:37 PM
change it to php then

Splinter
30-04-2006, 05:30 PM
you cant send an email via html "/ you need a form handler i.e in php..

Want to hide these adverts? Register an account for free!