Salv a tutti, vorrei sapere come mai con il seguente codice (NUNZIA)di una login mi rimanda all'url d'errore anche se in serisco i dati corretti?
Ecco il codice:
Send button:
__________________________________________________ __________________
on (release) {
if (nome == "utente1" && psw == "psw1") {
getURL("http://www.tuosito.it/utente1.html", "_self");
}
else if (nome == "utente2" && psw == "psw2") {
getURL("http://www.tuosito.it/utente2.html", "_self");
}
else if (nome == "utente3" && psw == "psw3") {
getURL("http://www.tuosito.it/utente3.html", "_self");
}
else {
getURL("http://www.tuosito.it/errore.html", "_self");
}
}
__________________________________________________ __________________
I campi di imput test sono "nome" & "psw"
__________________________________________________ __________________
Grazie a tutti e buon lavoro.

Rispondi quotando