In PHP:

<?php
if (isset($_POST['citta'])) {
header('Location: http://www.sito.com/' . strtoupper(trim($_POST['citta'])) . '/');
}
?>