PDA

View Full Version : problem with forms


Marcel
03-16-2006, 05:29 PM
Hi; the email processed by this php script

<?php

$mailto = 'me@me.com' ;

$subject = $_POST['subject'] ;

$name = $_POST['name'] ;
$email = $_POST['email'] ;
$message = $_POST['message'] ;
$http_referrer = getenv( "HTTP_REFERER" );

if (get_magic_quotes_gpc()) {
$message = stripslashes( $message );
}

$messageproper =

"Questo messaggio è stato inviato da:\n" .
"$http_referrer\n" .
"------------------------- COMMENTS -------------------------\n\n" .
$message .
"\n\n------------------------------------------------------------\n" ;

mail($mailto, $subject, $messageproper, "Da: \"$name\" <$email>\nReply-To: \"$name\" <$email>\nX-Mailer: chfeedback.php 2.02" );
exit ;
?>

outputs as for "sender", "nobody"; and in the phrase "Questo messaggio è stato inviato da:\n" ., I see a "?" instead of the character "è". What happens?