I've to create a registration form that redirect to a page after registration

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I've to create a registration form that redirect to a page after registration

Hi
i've a page called registration.html that contains a form. I want that when the user click the "send" button, he will be redirected to the page called confirmRegistration.html
... But how to exlude the possibility of open this page writing manually the address into the address bar? (for exemple www.mysite.com/confirmRegistration.html)

Your confirmRegistration page needs to be a .php, not a .html (unless you are making changes in htaccess) and then at the top of the page you would put something like this (difficult without your code):

Your confirmRegistration page needs to be a .php, not a .html (unless you are making changes in htaccess) and then at the top of the page you would put something like this (difficult without your code):

OK, I should have been a bit more specific regarding the isset (better to use than empty on its own) and I would normally have a hidden input field in my forms to check that the form has been posted, so something like

PHP Code:

if (!isset($_POST['confirm_login'])) {
...
}

I am not 100% sure I understand your question but I think you are trying to pass a parameter back to the login page if the person is redirected (maybe an error code), so: