Can't load var to Flash?

Hi everyone, I 'm a nrebie to Flash + PHP +MySQL, I followed the tutorial to make a simplae login application but it only works when I load the swf but not the html which holds the swf.

I put:
loadVariablesNum(“php/login.php”, 0, “POST”);
in the button.

And simple as:
echo “checklog=1”;
in login.php

If I load the login.swf, it works but if I load login.html which holds login.swf, it doesn’t . Can anyone help me?