Salve ragazzi ho un problema, ho questa form in html:

<form id="login" name="imp_login" action="<?=$PHP_SELF?>" method="post" target="_parent">

<font face="verdana, arial" size="1" color="#FFFFFF">WEBMAIL:

<input type="text" tabindex="1" name="imapuser" value="" style="direction:ltr" size="10"/> @

<input type="text" tabindex="2" size="10" name="host">

Password: <input type="password" tabindex="3" name="pass" style="direction:ltr" size="10" />

<input type="submit" class="button" name="loginButton" tabindex="4" value="Entra"/>

e questo codice in php:

Codice PHP:
<? 

if(isset($_POST["pass"])){

    if(
$pass <> "") {
        echo 
"<script>alert('Inserire una password'); </script>";
    }else{
    
    
header ("Refresh: 0; URL=\"http://sito./".$host."");

                }
         }
VORREI CHE QUELLO CHE SCRIVO NELLA CASELLA DI TESTO DI INPUT "HOST" SIA PASSATO COME VARIABILE NEL REDIRECT IN PHP. HO PROVATO IN TUTTI MODI MA NON RIESCO A FARLA PASSARE.

UN AIUTO VI PREGO.
GRAZIE