There is a textbox (name="url") in a form which contains a page URL. When the form is submitted, data will be sent to a PHP page. I want to know how to redirect that PHP page to the URL from the form? I have the code for redirection:
header( 'Location: www.google.com' );
Now I want to know how use that URL from the form, like so:
header( 'Location: << here should be the url we got from form >>' );
How could I do this?

