post.php 文件
require('config.php');
?>
$nikename =$arr_request['nikename'];
if (strlen($nikename)==0)
{
echo "
";
echo "";
echo "";
>錯誤訊息!";
echo "對不起,呢必須填入!!! 請重填!
";
echo "
";
echo "免費留言本由小熊提供技術支持";
echo "";
exit ;
}
$date_now=date('Y/m/d H:i:s');
$ip_address=getenv("REMOTE_ADDR");
$messageold=$arr_request['message'];
//$pattern="/n/";
//$replacement="
";
$message=computer_message($messageold,$hang_zifu_number);
$subjectold=$arr_request['subject'];
$subjectold=$arr_request['subject'];
if> >$hang_zifu_number)
$subject=computer_message($subjectold,$hang_zifu_number);
else
🎜>(nikename,subject,date_created,ip_address,message,email_address,zhuye_address,oicq)
values
( '$nikename',
'$subject', > '$ip_address',
'$message',
'".$arr_request['email_address']."',
'".$arr_request['zhuye" > '".$arr_request['oicq']."'
)";
$result=mysql_db_query($db_name,$str_sql,$id_link);
if (! $result){
affy_error_exit('SQL Insert Execution has failed.');
}
echo "";
echo "";
echo "L=display.php"> ";
echo "
";
echo "";
exit;
}
html>
謝謝你的留言!
我的留言本
首先感謝你的留言,你的每一句話我都會仔細閱讀! ! !字體>