Si, action viene de AS...
Código:
fscommand ("allowscale", "false");
fname1.tabIndex = 1;
lname1.tabIndex = 2;
email1.tabIndex = 3;
telno1.tabIndex = 4;
comments1.tabIndex = 5;
mailform = "mailform.php";
confirm = "Confirmando el envio"
action = "send";
Selection.setFocus("fname");
function validate (address) {
if (address.length>=7) {
if (address.indexOf("@")>0) {
if ((address.indexOf("@")+2)<address.lastIndexOf(".")) {
return (true);
}
}
}
return (false);
}
function formcheck () {
if ((((email == null)) || (email.length<1)) || (email == "ERROR! E-Mail Incorrecto")) {
email = "ERROR! E-Mail Incorrecto";
action = "";
}
if (!validate(email)) {
email = "E-Mail Incorrecto";
action = "";
}
if ((((fname == null)) || (fname.length<1)) || (fname == "ERROR! Address not valid")) {
fname = "Ingrese su Nombre";
action = "";
}
if ((((lname == null)) || (lname.length<1)) || (lname == "ERROR! Address not valid")) {
lname = "Ingrese su Apellido";
action = "";
}
if ((validate(email)) && (email != "ERROR!") && (fname != "") && (lname != "")) {
action = "send";
loadVariablesNum (mailform, 0, "POST");
gotoAndPlay ("wait");
}
}
stop ();
Cita: Y no debe ser así cambialo a
register_globals = Off
Sin embargo, antes de postear pensando que ese podia ser el problema, en el Xampp lo pase a On y aun asi, funcionaba... De todas maneras no puedo cambiar el php.ini del servidor y no se como hacerlo por codigo :(