PHP & FLash Login + More

Hello! :toad:
Ive created a login using the tutorial on Kirupa located at 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

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/ . 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

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