23-10-2007, 19:27
|
|
|
חבר מתאריך: 26.10.06
הודעות: 22
|
|
PHP:
<?php
$sendTo = "ofirc.inc@gmail.com";
$subject = "Mr.Polygon";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
FLASH
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
כפתור SEND
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php","POST");
}
|