18+

 

 

 

 


19.12.2011  


!!! . ActionScript 3.0, "" , -. ? , ?



" ":

<?php
$summaryTxt= $_POST['message'];

if( isset($summaryTxt)) == true ){

{
$sender = $summaryTxt;
$receiver = "name@yandex.ru";
$client_ip = $_SERVER['REMOTE_ADDR'];
$email_body = "Message: $summaryTxt\n\nIP: $client_ip \n\nFlash Contact Form provided by ://www.name.ru";
$extra = "From: $sender\r\n" . "Reply-To: $sender \r\n" . "X-Mailer: PHP/" . phpversion();

if( mail( $receiver, "Flash Contact Form - $summaryTxt", $email_body, $extra ) ){
echo "success=yes";
} else {
echo "success=no";
}

}

?>
"":

<?php
$contact_name = $_POST['name'];
$contact_email = $_POST['email'];
$contact_subject = $_POST['subject'];
$contact_message = $_POST['message'];

if( $contact_name == true )
{
$sender = $contact_email;
$receiver = "surname@mail.ru";
$client_ip = $_SERVER['REMOTE_ADDR'];
$email_body = "Name: $contact_name \nEmail: $sender \n\nSubject: $contact_subject \n\nMessage: \n\n$contact_message \n\nIP: $client_ip \n\nFlash Contact Form provided by ://www.name.ru";
$extra = "From: $sender\r\n" . "Reply-To: $sender \r\n" . "X-Mailer: PHP/" . phpversion();

if( mail( $receiver, "Flash Contact Form - $contact_subject", $email_body, $extra ) )
{
echo "success=yes";
}
else
{
echo "success=no";
}
}
?>

"":

<?php
$nametxt = $_POST['name'];
$evenvtxt = $_POST['subject'];
$reviewtxt = $_POST['message'];

echo isset($nametxt);

if( isset($nametxt) == true ){

$sender = $nametxt;
$receiver = "name@yandex.ru";
$client_ip = $_SERVER['REMOTE_ADDR'];
$email_body = "Name: $nametxt \n\nSubject: $evenvtxt \n\nMessage: \n\n$reviewtxt \n\nIP: $client_ip \n\nFlash Contact Form provided by ://www.name.ru";
$extra = "From: $sender\r\n" . "Reply-To: $sender \r\n" . "X-Mailer: PHP/" . phpversion();

if( mail( $receiver, "Flash Contact Form - $evenvtxt", $email_body, $extra ) ){
echo "success=yes";
} else {
echo "success=no";
}

}

?>

.




. , .
(c) Janda.ru