this is the piece that communicates with flash
$userName = $_POST['Gebruikersnaam'];
$userPasword = $_POST['Paswoord'];
$query ="SELECT pasword FROM Login WHERE username ='$userName'";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
if ($row == "")
{
echo "acces=Unkown Username";
}
else
{
extract($row);
if ($userPasword == $pasword)
{
$acces = "true";
echo $acces;
}
else
{
$acces = "false";
echo $acces;
}
My php doc works with a normal html document with forms but it doesn't works with the fla. document that is included.[attachment=1052:attachment] (open the txt. then copy it into a texteditor and save it as login.fla)
Any help is welcome, Greetings Freaky
Edited by ResidentFreaky, 01 April 2006 - 07:05 AM.
