Hi,
I’m making a totally flash login script witth a php-mysql backbone.
I want people to login on the flash page and after checking with the mysql database they are send to a index-login.php page.
It is all working except the point where i go to the php page.
My code looks like this:
on (release) {
if (naam_txt.text == "" || wachtwoord_txt.text == "") {
waarschuwing_txt.text="Vul alle verplichte velden in!!!";
} else {
var email_lv = new LoadVars();
email_lv.gebruikersnaam = naam_txt.text;
email_lv.wachtwoord = wachtwoord_txt.text;
email_lv.sendAndLoad("login.php", email_lv, "POST");
[COLOR=red] email_lv.onLoad = function ()
{
getURL("index-login.php", "_self", "POST");
}[/COLOR]
}
}
i’m working ith sessions in my index-login.php page.
What do i have to change to get login on the index-login.php page?