URL change based on data

When a user enters a web page, a box will open and ask them to enter a membership number.

When the person enters the information into the box, the entered information will be appended to the end of a URL I predetermined, and this URL will open.

How can I do this most practically?

For the incoming value of the Textbox, if it is ASP.NET,
Response.Redirect(" http://url + ’ " + textbox.Text + " ’ ")
If it is PHP,
header("Location: http://url + $_GET [‘inputname’] ");

I’m on mobile but it needs to be done roughly like this.

I’ll try it right away and let you know.

[quote

HTML;

<form method="post" action="phpdosyasi.php">
<input type="text" name="uyeNo">
</form>

PHP;

<?php header('Location: http://site.com/' . $_POST['uyeNo']); ?>

I hope this is what you wanted.

[quote="mdmx, post:5,

You can do something on the redirected page using HTML’s frame feature, my friend, you’re welcome.

I understand. Thank you very much for the help.

I have a question about the previous code.

Instead of appending the written data to the end, if I want to write it somewhere in the middle of the URL I will provide, what kind of modification should I make?

<?php header('Location: http://site.com/' . $_POST['uyeNo'] . '/profil'); ?>

You can edit it like this. You’re welcome.