Can't Seem To Get Flash PHP MySQL Chat Working

I can’t seem to get my chat working. I keep getting the error “Error Connecting To Server” because thats my default error when the script fails but when I run the PHP script it works fine. The files can be downloaded here. Could I get someone to download them and look over them for me?