nei form usa method=post, il get per gli URLCodice PHP:
<form action="prog.php" method="post">
Nome:<input type="text" name="nome" />
Cognome:<input type="text" name="cognome" />
<input type="submit" name="Invio" value="Invio" />
</form>
// file prog.php
<?php
if(!empty($_POST['Invio'])) {
echo "Benvenuto $_POST[nome] $_POST[cognome]";
}
?>