$ihalaURL = substr_count($_SERVER['HTTP_REFERER'], 'xox.idv.tw/'); //比對來源網址
$Umail = strip_tags($_POST["Um"]); //過濾 html
$Mbody = strip_tags($_POST["Md"]); //過濾 html
$F2MAIL = 'over3838@gmail.com';
//======================================================
if(($Mbody)&&($Umail)&&($ihalaURL)){
$roomtime = date("Y"."/"."m"."/"."d"." "."H".":"."i".":"."s");
$NTIME=time();
$userIP = getenv(REMOTE_ADDR);
if($Umail){
$Mbody = str_replace("\n",'
',$Mbody); //換行
$Mbody = str_replace("\r\n",'
',$Mbody); //換行
$mailSOB = '張虔銘的美術館的管理信件';
$SandYbODY = $mailSOB.'
信件內文:
".$Mbody; $SandYbODY .= '
張虔銘的美術館 的連絡室

Please Wait......