T Buck
05-10-2006, 05:56 PM
I have gotten my form in Koolmoves to interact with a php program, yet I am not able to see in the movie or receive back into the movie the variables I sent via the below statement, executed in the movie, when a button is clicked on:
on (release) {
loadVariables("bfcpassword.php","POST")
}
When I change the above loadVariables statement to
on (release) {
getURL(“bfcpassword.php”,”POST”)
}
I then am sent to the bfcpassword.php page, which displays the Koolmoves variable names & their modified values, via several php ‘print’ statements. I am using, in bfcpassword.php,
print “&txt1var=”.$txt1var;
print “&txt2var=”.$txt2var;
etc…
The variable names are the same as the variable name(s) for several dynamic text boxes within the movie, i.e. dynamic text box ‘txt1’ has its variable name set to ‘txt1var’.
The bfcpassword.php program is correctly operating on the variables sent from the movie – it is changing their values based on computations within the bfcpassword.php program.
Yet, I can not seem to get the values for the variables to ‘refresh themselves’ within the dynamic text boxes in the movie.
Am I doing something wrong in the bfcpassword.php program, by using print statements?
Or is my loadVariables statement incorrectly formatted so as to receive back to the movie the results of the computations within the bfcpassword.php program? Both the movie and the php program reside within the same directory on the server.
Thanks for any assistance.
Tom
on (release) {
loadVariables("bfcpassword.php","POST")
}
When I change the above loadVariables statement to
on (release) {
getURL(“bfcpassword.php”,”POST”)
}
I then am sent to the bfcpassword.php page, which displays the Koolmoves variable names & their modified values, via several php ‘print’ statements. I am using, in bfcpassword.php,
print “&txt1var=”.$txt1var;
print “&txt2var=”.$txt2var;
etc…
The variable names are the same as the variable name(s) for several dynamic text boxes within the movie, i.e. dynamic text box ‘txt1’ has its variable name set to ‘txt1var’.
The bfcpassword.php program is correctly operating on the variables sent from the movie – it is changing their values based on computations within the bfcpassword.php program.
Yet, I can not seem to get the values for the variables to ‘refresh themselves’ within the dynamic text boxes in the movie.
Am I doing something wrong in the bfcpassword.php program, by using print statements?
Or is my loadVariables statement incorrectly formatted so as to receive back to the movie the results of the computations within the bfcpassword.php program? Both the movie and the php program reside within the same directory on the server.
Thanks for any assistance.
Tom