Form doesn't work when loaded onto server

I have a pretty simple form with only 3 variables and a dynamic text field to display the results sent back from the server.

It works fine when I test the movie from flash but when I load the swf file onto my server, it doesn’t work. It looks as if the variables arent being sent. Anybody help?