Flash Login using php and sql

Hi,

I found the following tutorial which looks good but i cant get it to work
http://www.kirupa.com/developer/actionscript/authentication.htm

i have setup the db connections etc and i never see the error screen or sucess screen, it just hangs at ‘Begin Login Process - Wait…’

setting up the db i had to remove the DEFAULT ‘0000’ as mysql qould not acsept it the code given is


[SIZE=3][COLOR=black][FONT=Verdana,Arial,Helvetica,sans-serif][COLOR=black][COLOR=#ad0000]                       CREATE TABLE auth (
  userid
    int(4)
    unsigned
    zerofill
    DEFAULT '0000'
    NOT NULL
    auto_increment,
  username varchar(20),
  userpassword varchar(20),
  PRIMARY KEY (userid)
);[/COLOR][/COLOR][/FONT][/COLOR][/SIZE]

[COLOR=black][FONT=Verdana,Arial,Helvetica,sans-serif][SIZE=1][COLOR=black][COLOR=#ad0000][/COLOR][/COLOR][/SIZE][/FONT][/COLOR]

[SIZE=2]Also the [/SIZE][SIZE=2][COLOR=black][FONT=Verdana,Arial,Helvetica,sans-serif][COLOR=black]usercheck.php file doesn’t load so i manually inserted a user into the db[/COLOR][/FONT][/COLOR][/SIZE].