
May 30th, 2002, 09:23 AM
|
|
Member
|
|
Join Date: Mar 2001
Posts: 29
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
PHP - Flash interaction
Hello!
I've got a problem: I can't get some variables loaded into my flash movie. It is meant for a login script. The actionscript, which posts the key:
on (release) {
loadVariablesNum("http://localhost/onderzoek-online/site2/dev/Login.php", 0, "GET");
if (access == 1)
{getURL("http://www.onderzoek-online.nl", "_blank", "GET");}
else
{gotoAndStop(15);}
}
The PHP (test) script:
<?PHP
if($HTTP_GET_VARS["key"] == "correct-login")
{
echo "access=1";
}
else
{
echo "access=0";
}
?>
Thanks for helping me.
|