repost.php
来自「warmsun留言板」· PHP 代码 · 共 22 行
PHP
22 行
<?php
include('sys.php');
function writetofile($filename,$book)
{
$fd=fopen("$filename","a+");
fwrite($fd,$book);
fclose($fd);
}
if($password===$admin)
{
$re=$text;
$filename="gb/id_$id";
writetofile("$filename","||<font color=#FF0000>回复:</font>$re");
echo"回复成功";
echo "<meta http-equiv=Refresh content=1;url=index.php>";
}
else
{
echo"没有成功,或许你的密码错误!";
echo "<meta http-equiv=Refresh content=1;url=javascript:history.back(1)>";
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?