<html>
<head>
<title>Informix</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
function enviaValorPhp()
{
document.formulario.nombrehide.value = document.formulario.nombre.value;
}
</script>
</head>
<body>
<form name="formulario" action="testformulario.php" method="get" onSubmit="enviaValorPhp()">
<p>Nombre:
<input name="nombre" type="text">
<!--Creamos campo oculto al cual se le asignara el value desde una funcion en javascript-->
<input name="nombrehide" type="hidden">
</p>
<p>
<input type="submit" name="Submit" value="Enviar">
</p>
</form>
</body>
</html>
<?php
echo "Tu nombre es: $nombrehide";
?>