# Login problem (flash-php-mysql)

**URL:** <https://forum.kirupa.com/t/login-problem-flash-php-mysql/203838>\
**Category:** flash\
**Created:** [October 14, 2006, 6:45pm UTC](https://forum.kirupa.com/t/login-problem-flash-php-mysql/203838 "2006-10-14T18:45:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![demeter](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@demeter](https://forum.kirupa.com/u/demeter)\
**Post date:** [October 14, 2006, 6:45pm UTC](https://forum.kirupa.com/t/login-problem-flash-php-mysql/203838/1 "2006-10-14T18:45:24Z")

</div>

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:

```auto
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?
