sorry for the former message not ended ( a tab with gmail )
i have to call a PHP script
i have use the two methods
the old one
var inpinp=new LoadVars();
var outinp=new LoadVars();
inpinp.t = inp.text;
inpinp.sendAndLoad('env_hx.php',outinp);
.
.
.
and the new one
function HandlePHP(event) {
if ( lo.data !="" ) {
var tab=lo.data.split("\n");
display(tab[0]);// au retour PHP on maj le SO text
}
lo= new URLLoader();
req = new URLRequest("env_hx.php");
var inpu=new URLVariables();
inpu.t=input;
lo.addEventListener(Event.COMPLETE, HandlePHP); // ? this
line is maybe not taken into account
req.data=inp;
lo.load(req);
but it seems that none are working may be i have something wrong in my code
the compilation is accepted
( the old is working with mtasc )
any idea thanks by advance
--
http://jeanmichel.gens.free.fr