Ho un mailform in php collegato ad una pagina flash... sarebbe complesso convertirlo in asp? Il codice è il seguente:


<?

/************************************************** ****
**
** Flash Mx PHP Mailer
**
** By - David Khundiashvili
************************************************** *****/

/************************************************** *****

Enter your site details below!

************************************************** *****/

// Enter your contact email address here
$adminaddress = "info@bit.it";

// Enter the address of your website here include http://www.
$siteaddress ="http://www.bit.it";

// Enter your company name or site name here
$sitename = "www.bit.it";

/************************************************** *****

No need to change anything below ...

************************************************** *****/

$date = date("m/d/Y H:i:s");

if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);


if ($action != ""):
mail("$adminaddress","Info Request",
"Un visitatore del sito $sitename ha lasciato il seguente messaggio\n
Nome: $fname
Cognome: $lname
Email: $email
Telefono: $telno\n
Testo del messaggio:
------------------------------
$comments

Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress");

mail("$email","Grazie per aver visitato il sito $sitename",
"Buongiorno Sig. $lname, grazie per aver visitato il sito $sitename e\n
per averci contattato; un nostro incaricato La contatterà al più presto.\n
Le garantiamo che il suo indirizzo di posta non verrà mai ceduto a terzi.\n
Cordiali saluti,\n
\n

$sitename
$siteaddress","FROM:$adminaddress");

$sendresult = "La ringraziamo per aver visitato il sito <a href = \"$siteaddress\" target = \"_blank\"><u>$sitename</u></a>. Riceverà al più presto una nostra mail di risposta. ";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo "$send_answer";

endif;

?>