Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/09/2005, 22:55
Avatar de demianed
demianed
 
Fecha de Ingreso: septiembre-2005
Mensajes: 3
Antigüedad: 18 años, 6 meses
Puntos: 0
Pregunta quiero ejecutar archivo php en otro servidor que no es donde esta alojado mi pelicul

hola tengo el siguiente problema, a mi cliente le hize su pagina en flash y contiene php, pero el servidor de mi cliente no tiene php como hago para enviar un formulario en flash y que llame al archivo php del otro servidor y me ejecute la accion de enviar el correo por ejemplo esta es la accion del boton del formulario en flash :// set the response for incorrect filled textfields
on (press) {
var nametext = "Su nombre por favor.";
var placetext = "Redacte su comentario aquí por favor.";
var phonetext = "Formato de Nº= 0000-0000.";
var emailtext = "Dirección incorrecta.";
}
// check if the textfields are empty or have a response in them.
// check if the phone number has 10 digits and has a space or - in it (a must).
// check if the email address contains an at-sign and a dot.
// if all is correct the script sets init to 1 or else to 0.
on (release) {
if ((length(name) == 0) || (name == nametext) || (length(place) == 0) || (place == placetext) || (length(phone) == 0) || (phone == phonetext) || ((length(phone)<=8) && (phone.indexOf("-") == -1)) || ((length(phone)<=8) && (phone.indexOf("-") != -1)) || (length(email) == 0) || (email == emailtext)) {
if (length(name) == 0) {
name = nametext;
}
if (length(place) == 0) {
place = placetext;
}
if ((email.indexOf("@") != -1) && (email.indexOf(".") != -1) && (length(email)>5)) {
} else {
email = emailtext;
}
init = 0;
} else {
init = 1;
}
}
// if init is 1 load the external mailscript and send the mail.
// if init is 0 do nothing and stop.
on (release) {
if (init == 1) {
action = "Send";
loadVariables("mailform.php", "0", "POST");

with (_root) {
gotoAndStop("thank_you");
}
} else {
action = "";
with (_root) {
stop();
}
}
}

donde esta el mailform.php me gustaria llamarlo desde un url pero la funcion loadvariables no me lo permite y ya averigue y el url tiene ke ser el mismo donde esta la pelicula y como el server de mi cliente no tiene php no lo puedo ejecutar y ya han comprado el hosting alli ayuda urgente y agradecida de antemano!!!!!!!!!!!!!!!!