In this case you can use Post method see the example below
create one php/html file :
<html>
<body>
<form action=”output.php” method=”post”>
Name: <input type=”text” name=”name”>
<input type=”Submit” name=”Submit”>
</form>
</body>
</html>
if you execute the above page values will comes in the output.php file
<?php
echo $_POST[“name”];
?>