Poi:Codice PHP:$host = $_SERVER['HTTP_HOST'];
$page = $_SERVER['PHP_SELF'];
$qstr = $_SERVER['QUERY_STRING'];
if ($qstr=="") {
$url = "http://".$host.$page;
} else {
$url = "http://".$host.$page."?".$qstr;
}
echo "<a href=\"http://www.sito.it/login/index.php?File=$url\">[b]Effettua Login[/b]</a>";
Così va bene, ma legge una sola stringa, esempio href=\"http://www.sito.it/login/index.php?stringa=1&stringa=2, stringa=2 non viene scritta in <input name="File" type="hidden" value="<? echo $File; ?>" /. Come mai?codice:<form action="../ingresso.php" method="post" name="Login"> Username: <input name="User" type="text" size="20" /> Password: <input name="Password" type="password" size="20" /> Ricordami ad ogni accesso: <input name="Ricorda" type="checkbox" value="1" /> <input name="File" type="hidden" value="<? echo $File; ?>" /> <input name="Entra" type="submit" value="Entra" /><input name="Cancella" type="reset" value="Cancella" /> </form>

Rispondi quotando
:master:

