Arkadaslar asagidaki Actions kodlarina bir .php yazacak babayigit yokmu?
Tabiki mailform icin. En Alttada php kodlari mevcut, bir turlu olmuyor acil yardim?
on(rollOver) {
this.gotoAndPlay("s1");
}
on(rollOut, releaseOutside) {
this.gotoAndPlay("s2");
}
on (release) {
var your_name_descr = _parent.your_name_descr
var your_email_descr = _parent.your_email_descr
var field_1_descr = _parent.field_1_descr
var field_2_descr = _parent.field_2_descr
var field_3_descr = _parent.field_3_descr
var field_4_descr = _parent.field_4_descr
var field_5_descr = _parent.field_5_descr
var field_6_descr = _parent.field_6_descr
var field_7_descr = _parent.field_7_descr
var message_descr = _parent.message_descr
var message = _parent.message
var field_1 = _parent.field_1
var field_2 = _parent.field_2
var field_3 = _parent.field_3
var field_4 = _parent.field_4
var field_5 = _parent.field_5
var field_6 = _parent.field_6
var field_7 = _parent.field_7
var your_email = _parent.your_email
var your_name = _parent.your_name
getURL ("contact.php"+_parent.serv.text, "_blank" , "POST");
i=1;
while (this["field_"+i]) {
_parent["field_"+i]="";
i++;
}
_parent.reset_txt("t1","your_name", "Navn:");
_parent.reset_txt("t2","your_email","Evt.firma:");
_parent.reset_txt("t4","message","Besked:");
_parent.reset_txt("t3","field_1","Tlf:");
_parent.reset_txt("t5","field_2","E-mail:");
<?php
// set flash vars
$name = $_REQUEST["name"];
$message = $_REQUEST["message"];
$sender = $_REQUEST["sender"];
$receiver = $_REQUEST["receiver"];
$subject = $_REQUEST["subject"];
// user infomation
$ip = $_SERVER['REMOTE_ADDR'];
$br = $_SERVER['HTTP_USER_AGENT'];
// compose email
if(isset($name) && isset($message) && isset($sender) && isset($receiver) && isset($subject) ){
$ToEmail = "crazydanmark@************";
$mailheader = "From: " .$sender."\r\n";
$mailheader .= "Reply-To: ".$sender."\r\n";
$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n";
$message_body = "<br/ ><b>Name: </b> ".$name."<br />";
$message_body .= "<br/ ><b>Email: </b> ".$sender."<br />";
$message_body .= "<br/ ><b>Message:</b> <br /> ".$message."<br /><br />";
$message_body .= "<b>IP Address:</b> ".$ip. "<br/>";
$message_body .= "<b>Browser Information: </b> ".$br. "<br />";
mail($ToEmail, $subject, $message_body, $mailheader) or die ("Failure");
}
?>
Tabiki mailform icin. En Alttada php kodlari mevcut, bir turlu olmuyor acil yardim?
on(rollOver) {
this.gotoAndPlay("s1");
}
on(rollOut, releaseOutside) {
this.gotoAndPlay("s2");
}
on (release) {
var your_name_descr = _parent.your_name_descr
var your_email_descr = _parent.your_email_descr
var field_1_descr = _parent.field_1_descr
var field_2_descr = _parent.field_2_descr
var field_3_descr = _parent.field_3_descr
var field_4_descr = _parent.field_4_descr
var field_5_descr = _parent.field_5_descr
var field_6_descr = _parent.field_6_descr
var field_7_descr = _parent.field_7_descr
var message_descr = _parent.message_descr
var message = _parent.message
var field_1 = _parent.field_1
var field_2 = _parent.field_2
var field_3 = _parent.field_3
var field_4 = _parent.field_4
var field_5 = _parent.field_5
var field_6 = _parent.field_6
var field_7 = _parent.field_7
var your_email = _parent.your_email
var your_name = _parent.your_name
getURL ("contact.php"+_parent.serv.text, "_blank" , "POST");
i=1;
while (this["field_"+i]) {
_parent["field_"+i]="";
i++;
}
_parent.reset_txt("t1","your_name", "Navn:");
_parent.reset_txt("t2","your_email","Evt.firma:");
_parent.reset_txt("t4","message","Besked:");
_parent.reset_txt("t3","field_1","Tlf:");
_parent.reset_txt("t5","field_2","E-mail:");
<?php
// set flash vars
$name = $_REQUEST["name"];
$message = $_REQUEST["message"];
$sender = $_REQUEST["sender"];
$receiver = $_REQUEST["receiver"];
$subject = $_REQUEST["subject"];
// user infomation
$ip = $_SERVER['REMOTE_ADDR'];
$br = $_SERVER['HTTP_USER_AGENT'];
// compose email
if(isset($name) && isset($message) && isset($sender) && isset($receiver) && isset($subject) ){
$ToEmail = "crazydanmark@************";
$mailheader = "From: " .$sender."\r\n";
$mailheader .= "Reply-To: ".$sender."\r\n";
$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n";
$message_body = "<br/ ><b>Name: </b> ".$name."<br />";
$message_body .= "<br/ ><b>Email: </b> ".$sender."<br />";
$message_body .= "<br/ ><b>Message:</b> <br /> ".$message."<br /><br />";
$message_body .= "<b>IP Address:</b> ".$ip. "<br/>";
$message_body .= "<b>Browser Information: </b> ".$br. "<br />";
mail($ToEmail, $subject, $message_body, $mailheader) or die ("Failure");
}
?>