I know there's info about this topic on the website but i'm still having problems.
In Flash MX 2004 I only have 1 keyframe with 2 text inputs for username and password. I want to submit their contents to PHP so they're available as vars.
action script for button:
on (release, keyPress "<Enter>") {
if (usr != "" && pwd != "") {
status = "Authenticating...";
loadVariablesNum("index.php", 0, "POST");
}
}
in properties of text inputs i have
Var: usr
Var: pwd
the flash movie is in the same page it submits to. I hope that's ok.
I have this at the top of my php:
$usr=$POST['usr'];
$pwd=$POST['pwd'];
the rest of the php and mysql is all set up if those variables are set.
anyway... i get no errors... nothing happens. I know i'm missing something.