Código:
q me deveria enviar los datos a un archivo php donde tengoon (release) { if(_level0.main.content.form.title=="" || _level0.main.content.form.uname=="" || _level0.main.content.form.company=="" || _level0.main.content.form.phone=="" || _level0.main.content.form.email=="" || _level0.main.content.form.comments=="") { getURL('javascript:alert("Porfavor rellene todos los campos")'); } else { test=new loadVars(); test.title = _level0.main.content.form.title; test.uname = _level0.main.content.form.uname; test.company = _level0.main.content.form.company; test.phone =_level0.main.content.form.phone; test.email = _level0.main.content.form.email; test.comments = _level0.main.content.form.comments; retval= new loadVars(); test.sendAndLoad("envio.php",retval,"POST"); retval.onLoad = function(success) { strVal = this["send"].charAt(0); strVal1="y"; if (StrVal==strVal1) { gotoAndStop(4); } else { gotoAndStop(3); } } } }
Código:
pero me dice al dar al boton de enviar pero no me realiza el envio me pueden lludar¿? <?php echo $_POST["test.title"]; echo $_POST["test.uname"]; echo $_POST["test.company"]; echo $_POST["test.test.phone"]; echo $_POST["test.email"]; echo $_POST["test.comments"]; ?>