<?php
$name = isset($_POST[‘uname’])?$_POST[‘uname’]:””;
$phone = isset($_POST[‘phone’])?$_POST[‘phone’]:””;
$company = isset($_POST[‘company’])?$_POST[‘company’]:””;
$message = isset($_POST[‘message’])?$_POST[‘message’]:””;
$msg = “name:”.$name.”
“.”phone:”.$phone.”
“.”company:”.$company.”
“.”message:”.$message;
$to = “long.cheng@freshds.com”;
$subject = “Soriana Contact”;
$from = $name;
$headers = “From: {$name}”;
if(mail($to,$subject,$msg,$headers)){
echo “alert(‘Thanks for your support’)”;
}else{
echo “alert(‘Failed’)”;
return false;
}
?>
详解CSS中position的4种属性(fixed |absolute | relative | static ) | 详解CSS中position的4种属性(fixed |absolute | relative | static ) ...