<form action="THE PAGE YOU SENT REQUEST" method="POST">
<input placeholder="zoeken" name="zoaken" type="text">
<input type="submit" value="Submit">
</form>
<?php
/* Get the text input with $_POST */
$string = $_POST['zoaken'];
/* Redirect the page to the new address */
header('Location: https://nl.wikipedia.org/wiki/'.$string);
You should also check if the text is null, empty or has vulnerability.
0
solved How to get text input and paste it in front of a link using PHP?