# Fla not connecting to database

**URL:** <https://forum.kirupa.com/t/fla-not-connecting-to-database/237959>\
**Category:** Uncategorized\
**Created:** [September 5, 2007, 9:51pm UTC](https://forum.kirupa.com/t/fla-not-connecting-to-database/237959 "2007-09-05T21:51:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joeycrash135](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@joeycrash135](https://forum.kirupa.com/u/joeycrash135)\
**Post date:** [September 5, 2007, 9:51pm UTC](https://forum.kirupa.com/t/fla-not-connecting-to-database/237959/1 "2007-09-05T21:51:27Z")

</div>

original post is here [http://kirupa.com/forum/showthread.php?p=2208220#post2208220](http://kirupa.com/forum/showthread.php?p=2208220#post2208220)

actionscript is as2 / flash 8 file

hi again, all was well for a while, I got the script to work perfectly, even got to register a few hundred members to the site. However, my old host had a bandwidth limit of 400gb so I had to move to a new provider. I transferred all the files with no problems, and even setup the database properly. My new problem is registering… I can login just fine using an existing account I had made. But I go to try and make a new account and I get an “undefined” error.  
here is the link to the site, i have setup a test folder which can access the database.

[http://www.pastrykicks.com/test/login.html](http://www.pastrykicks.com/test/login.html)

also here is the php code. .harish, you’re absolutely correct. The indenting helps a lot.

edited - php code removed after concluding that was not the problem.

the problem either lies with the host blocking something or the swf itself. I’m no programmer so I am stumped.

Here is the login.fla file for any coders can check it out if they’d like.  
was too big to attach to the forum. 283kb  
[http://www.pastrykicks.com/login.zip](http://www.pastrykicks.com/login.zip)
