View Full Version : emailform and redirecting

05-01-2011, 01:28 PM
Does anyone know how to create and emailform where the user get redirected to another page after typing the address and the address shall be saved automaticlay in a data base. The user shall find material for free downloding on the new page..:grin:

05-02-2011, 12:50 AM
yes it would be basic using php and mysql databases , even using dw wizards possibly. but you need to have an understanding php

05-02-2011, 06:45 AM
Thanks :-D Does anyone know the way to do it? I am a beginner and need instructions :mrgreen:

05-02-2011, 07:23 AM
you will need to follow the tutorials, there are some here in the turorial section.
The steps are
a form with the "action" pointing to a script page
the script will need to connect to your database using the username and password you give to it
you will need to use an insert function to add that email address to the database,
a mail script will then send the email that you want, also in tutorials
then you can use

header("Location: http://www.yourdomain/your download.html");

05-03-2011, 10:12 AM
Thanks a lot :-) I will check it up!