# PHP & FLash Login + More

**URL:** <https://forum.kirupa.com/t/php-flash-login-more/53623>\
**Category:** programming\
**Created:** [June 5, 2004, 8:20pm UTC](https://forum.kirupa.com/t/php-flash-login-more/53623 "2004-06-05T20:20:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmayo86](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@jmayo86](https://forum.kirupa.com/u/jmayo86)\
**Post date:** [June 5, 2004, 8:20pm UTC](https://forum.kirupa.com/t/php-flash-login-more/53623/1 "2004-06-05T20:20:15Z")

</div>

Hello! :toad:  
Ive created a login using the tutorial on Kirupa located at [http://www.kirupa.com/developer/actionscript/authentication.htm](http://www.kirupa.com/developer/actionscript/authentication.htm) But now i have done that i want it to do more! How can i make it login and connect ot a PHP & mySQL chat? Anyone know how i can go about doing this? I know theres lots of PHP chat room scripts out there that you can download for free, but i dont know how i would go about making the chat user the nickname you login with and how to get it to connect :puzzle: Please could you help?

Thanks  
Jason

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2004, 5:33pm UTC](https://forum.kirupa.com/t/php-flash-login-more/53623/2 "2004-08-30T17:33:45Z")

</div>

hi

i am trying to do the same thing as you originally did. only problem is, when the php sends the response back to flash, the flash displays the text in the dynamic text box but it doesn’t go to the confirm frame (or the didn’t work frame for that matter) like it should. You can see what i mean at [http://members.lycos.co.uk/netmobile/](http://members.lycos.co.uk/netmobile/) . you have to click on the “login to get content” button. the correct login is test in both username and password

please can you try to help me with this problem as i really need to get this working and my host only supports php and mysql

it has to be something wrong with the action script i think its this bit thats wrong:

this.onEnterFrame = function () {  
if(\_root.checklog == 1){  
\_root.gotoAndPlay(61);  
}  
if(\_root.checklog == 2){  
\_root.gotoAndStop(71);  
}  
//the onEnterFrame constantly checks to see if the PHP  
//script has sent the variable ‘checklog’ back to the  
//movie and directs the people accordingly

andy

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 7:27am UTC](https://forum.kirupa.com/t/php-flash-login-more/53623/3 "2004-08-31T07:27:45Z")

</div>

um…i just replied to this in my other post, you shouldnt post the same message in more than one thread
