Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Email form con Flash CS3 e PHP

This is a discussion on Email form con Flash CS3 e PHP within the Utilità di FlepStudio forums, part of the Flash Italiano category; Tem , penso che non ci sia nulla da fare! Modifiche effettuate e questo è il messaggio ricevuto come spam: Spam detection ...


Go Back   Forum Flash CS3 Flash CS4 > Flash CS3 Flash CS4 > Flash Italiano > Utilità di FlepStudio

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #41 (permalink)  
Old 01-06-08, 19:53
Member
 
Join Date: Dec 2007
Posts: 43
Rep Power: 0
Chicco54 is on a distinguished road
Re: Email form con Flash CS3 e PHP

Tem, penso che non ci sia nulla da fare!

Modifiche effettuate e questo è il messaggio ricevuto come spam:

Spam detection software, running on the system "mxavas12.fe.aruba.it", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
http://vademecum.aruba.it/start/mail/antispam/ for details.

Content preview: L'albero, luned?perch?cio?pi?erci?i?L'albero, luned?perch?cio?pi?erci?i?L'albero,
luned?perch?cio?pi?erci?i?L'albero, luned?perch?cio?pi?erci?i?L'albero, luned?perch?cio?pi?erci?i?L'albero,
luned?perch?cio?pi?erci?i?1234567890 E-mail inviata da:miko [...]

Content analysis details: (5.8 points, 5.0 required)

--------------------------
Questo, invece, è l'allegato ricevuto insieme al messaggio individuato come spam:

L'albero, luned?perch?cio?pi?erci?i?L'albero, luned?perch?cio?pi?erci?i?L'albero, luned?perch?cio?pi?erci?i?L'albero, luned?perch?cio?pi?erci?i?L'albero, luned?perch?cio?pi?erci?i?L'albero, luned?perch?cio?pi?erci?i?1234567890
--------------------------- E-mail inviata da:miko
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #42 (permalink)  
Old 01-06-08, 20:01
tem's Avatar
tem tem is offline
Moderator
 
Join Date: Jan 1970
Posts: 493
Rep Power: 40
tem is on a distinguished road
Re: Email form con Flash CS3 e PHP

ultima prova..

sostituisci questa riga di codice:
Code:
$header .= "Content-Type: text/html; charset=iso-8859-1";
con questa:
Code:
$header .= "Content-Type: text/html; charset=UTF-8\r\n";
__________________
http://www.thetconcept.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43 (permalink)  
Old 01-06-08, 20:15
Member
 
Join Date: Dec 2007
Posts: 43
Rep Power: 0
Chicco54 is on a distinguished road
Re: Email form con Flash CS3 e PHP

Ok, provo!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #44 (permalink)  
Old 01-06-08, 20:19
Member
 
Join Date: Dec 2007
Posts: 43
Rep Power: 0
Chicco54 is on a distinguished road
Re: Email form con Flash CS3 e PHP

Quote:
Originally Posted by tem View Post
ultima prova..

sostituisci questa riga di codice:
Code:
$header .= "Content-Type: text/html; charset=iso-8859-1";
con questa:
Code:
$header .= "Content-Type: text/html; charset=UTF-8\r\n";
Fatto! Questa volta non è intervenuto l'antispam di aruba!

Ecco il risultato:

l'albero, luned?perch?cio?pitip?erci?aram?l'albero, luned?perch?cio?pitip?erci?aram?l'albero, luned?perch?cio?pitip?erci?aram?1234567890 --------------------------- E-mail inviata da:mimi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45 (permalink)  
Old 01-06-08, 20:24
Member
 
Join Date: Dec 2007
Posts: 43
Rep Power: 0
Chicco54 is on a distinguished road
Re: Email form con Flash CS3 e PHP

Tem
Quando è intervenuto l'antispam, nella precedente e-mail, c'era in coda anche questo che m'è sfuggito:

" pts rule name description
---- ---------------------- --------------------------------------------------
0.3 MIME_BAD_ISO_CHARSET BODY: MIME character set is an unknown ISO
charset
0.5 BAYES_40 BODY: Bayesian spam probability is 20 to 40%
[score: 0.3258]
0.0 HTML_MESSAGE BODY: HTML included in message
2.2 TVD_SPACE_RATIO BODY: TVD_SPACE_RATIO
1.5 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
0.6 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME
headers
0.1 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag
0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam. If you wish to view
it, it may be safer to save it to a file and open it with an editor."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #46 (permalink)  
Old 01-06-08, 20:57
tem's Avatar
tem tem is offline
Moderator
 
Join Date: Jan 1970
Posts: 493
Rep Power: 40
tem is on a distinguished road
Re: Email form con Flash CS3 e PHP

proviamo un'altra strada a sto punto..

sostituisci questa funzione nel php:
HTML Code:
function meftexte($texte){ 
$texte = utf8_decode(urldecode($texte));//this is the most important part of the code!!!!!!!!!http://www.sephiroth.it/phpBB/archive/index.php/t-4267.html!!!!!!!!!!!!!!!
$texte = trim($texte); 
$texte = stripslashes($texte);
$texte = nl2br($texte);
$texte = str_replace(">", ">", $texte); 
$texte = str_replace("<", "<", $texte); 
$texte = strip_tags($texte, '<a>[b][i]<u><img>'); 
return $texte; 
}
con questa:
HTML Code:
function meftexte($texte){ 
$texte = urldecode($texte);
$texte = htmlentities($texte);
$texte = trim($texte); 
$texte = stripslashes($texte);
$texte = nl2br($texte);
$texte = str_replace(">", ">", $texte); 
$texte = str_replace("<", "<", $texte); 
$texte = strip_tags($texte, '<a>[b][i]<u><img>'); 
return $texte; 
}
vediamo un pò..
__________________
http://www.thetconcept.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47 (permalink)  
Old 01-06-08, 21:10
Member
 
Join Date: Dec 2007
Posts: 43
Rep Power: 0
Chicco54 is on a distinguished road
Re: Email form con Flash CS3 e PHP

Risultato:

l'albero, lunedì, perché, cioè, pitipù, perciò, già, l'albero, lunedì, perché, cioè, pitipù, perciò, già, l'albero, lunedì, perché, cioè, pitipù, perciò, già. 1234567890 --------------------------- E-mail inviata da:cocco

Az... ce l'hai fatta!

Ora, non Ti resta che sistemare bene "inviamail.php"

Last edited by Chicco54; 01-06-08 at 21:12..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #48 (permalink)  
Old 01-06-08, 21:26
Member
 
Join Date: Dec 2007
Posts: 43
Rep Power: 0
Chicco54 is on a distinguished road
Re: Email form con Flash CS3 e PHP

Tem
è venuto fuori un problema!

La modifica apportata va bene per le e-mail concesse da Aruba su sistemi Win che hanno la certificazione, l'antivirus e l'anti-spam.

Non va bene per inviare e-mail ad indirizzi come alice.it, tin.it ecc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49 (permalink)  
Old 01-06-08, 22:32
tem's Avatar
tem tem is offline
Moderator
 
Join Date: Jan 1970
Posts: 493
Rep Power: 40
tem is on a distinguished road
Re: Email form con Flash CS3 e PHP

adesso mi sa che il problema è che la mail è un html..
facciamo 2 modifiche agli header per renderli + formali..

prova a cambiare questo:
Code:
$header = "From: info@mydomain.com\n";
$header .= "Content-Type: text/html; charset=UTF-8\r\n";
$header .= "Reply-To: info@mydomain.com\n";
$header .= "X-Mailer: PHP/" . phpversion() . "\n";
$header .= "X-Priority: 1";
con questo:
Code:
$header = "To: $email\n";
$header .= "From: info@mydomain.com\n";
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html; charset=UTF-8\n";
$header .= "Reply-To: info@mydomain.com\n";
$header .= "X-Mailer: PHP/" . phpversion() . "\n";
$header .= "X-Priority: 1";
Quote:
Originally Posted by Chicco54 View Post

Ora, non Ti resta che sistemare bene "inviamail.php"

inviaMail.php è uno script base che va benissimo su linux.. il problema che hai riscontrato mi sa che è dovuto all'hosting windows..
__________________
http://www.thetconcept.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #50 (permalink)  
Old 01-06-08, 23:23
Member
 
Join Date: Dec 2007
Posts: 43
Rep Power: 0
Chicco54 is on a distinguished road
Re: Email form con Flash CS3 e PHP

Quote:
inviaMail.php è uno script base che va benissimo su linux.. il problema che hai riscontrato mi sa che è dovuto all'hosting windows..
Beh ... veramente erano solo delle prove, in quanto la posta inviata direttamente dal mio dominio.it arriva benissimo. Sto utilizzando un Formail di Aruba.

Ritornando alla prova, che può essere utile per tanti che vorrebbero utilizzare il form in flash cs3 + php, ora ... comincia a fare capricci!

L'e-mail ricevuta non è veritiera in quanto risulta, con l'ultima modifica apportata, che il messaggio in oggetto e-mail è stato inviato al compilatore del Form sotto questa forma.
Da: mionome@dominio.it a niko@tin.it

... invece, dovrebbe essere il contrario.

Tra poco vado in fumo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Email form with pictures - Flash CS3 and PHP Flep FlepStudio utilities 72 06-01-09 06:10
Email form Flash CS3 and ColdFusion 8 Flep FlepStudio utilities 1 29-10-08 12:56
Email form Flash CS3 e ColdFusion 8 Flep Utilità di FlepStudio 3 24-10-08 09:20
Classic Email form Flash CS3 and PHP ions Flash English 0 27-06-08 17:07
Flash CS3 email form AS2 seokutsa Flash CS3 | PHP | mySQL 1 15-02-08 11:06


All times are GMT. The time now is 03:32.

Powered by vBulletin version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap