Codice PHP:
<?php
$cognome 
$_POST['cognome'];
$nome $_POST['nome'];
?>