bonjour à tous, j'ai un petit souci avec un formulaire flash couplé à une base MySQL via un script PHP....un classique...le formulaire et les scripts fonctionnent sans problème quand ils sont placés seuls dans un nouveau projet, en revanche, dès que je place ce même formulaire dans mon site : plus rien : 'LOGIN INCORRECT !'
voici mon script d'action :
btn_ok.onRelease = function()
{
var myLogin:String = txt_login.text ;
var myPassword:String = txt_password.text ;
maVariable = new LoadVars();
maVariable.var_login = myLogin ;
maVariable.var_password = myPassword ;
maVariable.onLoad = function()
{
if ( maVariable.allow == 1)
getURL("accueil.php");
else
txt_result.text = "!! Login/Password incorrect !!" ;
}
maVariable.sendAndLoad("login.php", maVariable, "POST") ;
}
j'ai tout essayé, je ne comprends pas...merci de m'aider, je suis au bord du suicide !!