no ma sai cos'è il php l'ho modificato così
e funziona, me ne accorgo dal fatto che se faccio http;//www.miosito/cartella/email.php mi arriva la mail di risposta, con tutti i campi vuoti.Codice PHP:<?php
$contact_name = $_POST['nameInput'];
$contact_email = $_POST['emailInput'];
$contact_subject = $_POST['subjectInput'];
$contact_message = $_POST['messageInput'];
{
$sender = $contact_email;
$receiver = "info@miosito.it";
$client_ip = $_SERVER['REMOTE_ADDR'];
$email_body = "Name: $contact_name \nEmail: $sender \nSubject: $contact_subject \nMessage: $contact_message \nIP: $client_ip ";
$extra = "From: $sender\r\n" . "Reply-To: $sender \r\n" . "X-Mailer: PHP/" . phpversion();
if( mail( $receiver, "Flash Contact Form - $subject", $email_body, $extra ) )
{
echo "success=yes";
}
else
{
echo "success=no";
}
}
?>
A questo punto suppongo che l'errore sia nello script AS e precisamente in
comunque questo script AS3 mi riconosce tutto il resto, cioè il file contact.xml il file .css, solo che al momento di inviare la mail resta in sospeso e nn arriva maicodice:function frame1():* { caurina.transitions.properties.ColorShortcuts.init(); caurina.transitions.properties.CurveModifiers.init(); flash.system.Security.allowDomain("www.youtube.com"); this.form.visible = false; this.formBg.visible = false; this.formBg.width = 0; this.addEventListener(flash.events.Event.ADDED_TO_STAGE, this.init); this.xmlLoader = new flash.net.URLLoader(); this.xmlLoader.addEventListener(flash.events.Event.COMPLETE, this.xmlLoaded, false, 0, true); this.xmlLoader.addEventListener(flash.events.IOErrorEvent.IO_ERROR, this.catchIOError, false, 0, true); this.formLoader = new flash.net.URLLoader(); this.phpFileURL = new flash.net.URLRequest("http://www.miosito.it/cartella/email.php"); this.phpFileURL.method = flash.net.URLRequestMethod.POST; return; }
se pensi di poter risolvere il problema, ti invio in pvt il template...

Rispondi quotando