Dynamic url after form submit


I would like the user to fill in a form with first name and last name so
the url he will be redirected to after the form was submitted will be
domain.com/(his first name)/(his lastname)/index.html with a text
saying: welcome (first name) (last name).

sorry for the newbie question…