澳门新浦京app下载挑战最棒的留言本的源码_php基础_脚本之家

post.php 文件

post.php 文件
“; echo “对不起,呢称必需填写!!!
请重填!
“; echo “

$nikename=$arr_request[nikename];


if (strlen($nikename)==0) { echo “

“; echo “无偿留言本由小熊提供技能援助”; echo
“”; exit ; } $date_now=date; $ip_address=getenv(“REMOTE_ADDR”);
$messageold=$arr_request[‘message’]澳门新浦京app下载,; //$pattern=”/n/”;
//$replacement=”
“; $message=computer_message($messageold,$hang_zifu_number);
$subjectold=$arr_request[‘subject’]; if >$hang_zifu_number)
$subject=computer_message($subjectold,$hang_zifu_number); else
$subject=$subjectold; $str_sql=” insert into
$table_name(nikename,subject,date_created,ip_address,message,email_address,zhuye_address,oicq)
values ( ‘$nikename’, ‘$subject’, ‘$date_now’, ‘$ip_address’,
‘$message’, ‘”.$arr_request[’email_address’].”‘,
‘”.$arr_request[‘zhuye_address’].”‘, ‘”.$arr_request[‘oicq’].”‘
)”; $result=mysql_db_query($db_name,$str_sql,$id_link); if {
affy_error_exit(‘SQL Insert Execution has failed.’); } else{ echo
“quot;-//W3C//DTD HTML 4.0 Transitional//EN”>”; echo “

“;

宣布随笔

echo “错误音讯!”; echo “对不起,呢称必得填写!!! 请重填!”; echo “”; echo
“无需付费留言本由小熊提供本领扶助”; echo “

“; echo “

“; exit ;

“; echo “”; echo “
“; echo “

}

“; exit;} ?> index.html 文件

$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);

本人的留言本

首先多谢您的留言,你的每一句话我都会精心翻阅!!!

翻看留言


无需付费留言本由小熊提供技艺援助display.inc文件!!!

email_address ?> >

nikename ?>

留言时间:

date_created ?>

来自:

主题:

subject ?>

message ?>

huifu_biaozi){?>

版主回复:

huifu ?>

email_address ?> >
澳门新浦京app下载 1nikename
?>的e-mail地址是:

email_address ?> “border=”0″ width=”15″ length=”15”>邮件
zhuye_address
?>>澳门新浦京app下载 2nikename
?>的主页地址是:

zhuye_address ?> “border=”0″width=”14″ length=”14” >主页
澳门新浦京app下载 3nikename?>的OICQ是:

oicq ?>”width=”14″ length=”14″ >OICQ key_liuyan
?>>澳门新浦京app下载 4删除
key_liuyan ?>
>澳门新浦京app下载 5回复


$subjectold=$arr_request[subject]; if
(strlen($subjectold)>$hang_zifu_number)

$subject=computer_message($subjectold,$hang_zifu_number); else
$subject=$subjectold;

$str_sql=” insert into $table_name
(nikename,subject,date_created,ip_address,message,email_address,zhuye_address,oicq)
values ( $nikename, $subject, $date_now, $ip_address, $message,
“.$arr_request[email_address].”,
“.$arr_request[zhuye_address].”, “.$arr_request[oicq].”

)”;

$result=mysql_db_query($db_name,$str_sql,$id_link);

if (! $result){ affy_error_exit(SQL Insert Execution has failed.); }
else

{

echo “”; echo “

宣布作品

“; echo “

“; echo “”; echo “”; echo “多谢你发布留言,将自行突显留言内容”; echo “”;
echo “即使您的浏览器未有机关的归来到留言簿首页,? 请点这里再次回到.”; echo
“”;

exit;

} ?>

index.html 文件

多谢您的留言!

自身的留言本 首先多谢您的留言,你的每一句话小编都会悉心翻阅!!!

翻看留言 无偿留言本由小熊提供本领协理

display.inc文件!!!

email_address ?> > nikename ?> 留言时间:date_created
?>

来自:

ip_address); echo $ip_address; ?>

主题:

You can leave a response, or trackback from your own site.

Leave a Reply

网站地图xml地图