nel filamto flash ho questi due comandi
richiesta = "";
getURL("", "", "POST");
e sul pulsante invia
on (release) {
getURL ("info.asp", "_blank", "POST");
this.loadMovie ("maill.swf");
}
il file asp è
<%
n = request.form("nome")
c = request.form("cognome")
na = request.form("nato")
cit = request.form("citta")
sta = request.form("stato")
t = request.form("tel")
f = request.form("fax")
e = request.form("email")
tex = request.form("testo")
il = request.form("il")
cel = request.form("cell")
vi = request.form("via")
naz = request.form("nazionalita")
Set Conn = Server.CreateObject("ADODB.Connection")
StrConn = "provider= Microsoft.Jet.OLEDB.4.0; data source="&Server.MapPath("quid.mdb")
Conn.Open StrConn
StrInsert = "INSERT INTO info(nome, cognome, nato, il, nazionalita, stato, via, citta, tel, cell, email, fax, testo) "&_
"values('"&n&"', '"&c&"', '"&na&"', '"&il&"', '"&naz&"', '"&sta&"', '"&vi&"', '"&cit&"', '"&t&"', '"&cel&"', '"&e&"', '"&f&"', '"&tex&"')"
Conn.Execute StrInsert
Conn.Close
Set Conn = nothing
%>
<html>
<script language="javascript">
window.resizeTo(300,300);
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scrolling="no" bgcolor="#212021" >
<table bgcolor="#212021" cellpadding="0" width="100%" height="100%" cellspacing="0">
<tr>
<td >
<div align="center"><font face="Arial, Helvetica, sans-serif" size="5" color="#FFFFFF">La
sua richiesta è stata inoltrata.</font> </div>
</td>
</tr>
</table>
</body>
</html>
ora questo è un form mail fatto in flash e che nn ha bisogno di outlook per mandare la posta perche si dovrebbe appogiare sul file asp.
qyesto pero è un file che mi ha dato un amico e che io ho modificato ma mentre lo facevo mi sono chiesto ma nn ho scritto mai il mio indirizzo e mail come fa a sapere dove me lo deve mandare???
grazie mi potete aiutare ciao ciao ciao scusate l'ingnoranza che dilaga![]()
![]()
![]()